Failed to load the “Magento_GiftMessage/js/view/gift-message” component in magento 2
This issue “Magento_GiftMessage/js/view/gift-message" mainly comes when we copy the entire file from the vendor folder and add it to the theme with little customization.
So Fix is to find a file using the terminal command “find".
For me, this issue occur in cart page so my responsible file was “checkout_cart_index.xml".
Terminal Command : find ./app/ -name checkout_cart_index.xml
then open the result file and compare it with vendor file using diffnow.
And then keep only those you need to modify.
You may need to flush cache too.
You all are the semicolon to my statements; Please support me; Thanks for reading
Hi, did you find a solution to this issue? It’s currently showing up in my project and i can’t find anything online.
Did you try whatever mention in the post?
Because this kind of issue occurs when we copy the entire checkout_cart_index.xml.
So I suggest you find a particular file and then remove unwanted XML code and only add those which you need to add or override using “referenceContainer” or “referenceBlock”