On cart page I am getting this error in console:

Failed to load the "Magento_GiftMessage/js/view/gift-message" component

When I disable the module Magento_GiftMessage is working but it effect some where. Please anyone help me.


  • have you override this js file in your theme? – Ronak Chauhan Oct 1 '19 at 8:14
  • no. I'm not override the file – venkata prasad Oct 1 '19 at 9:08
  • write proper description then only someone can help you else everyone open a tag to close this question. – Ronak Chauhan Oct 1 '19 at 9:11
  • updated the question – venkata prasad Oct 1 '19 at 9:26
  • Due to Some of your custom module it is getting error, don't disable Magento_GiftMessage, enable it and try to check your custom module disable one by one – Oscprofessionals Oct 1 '19 at 11:27

I had checkout_cart_index.xml copied to my theme folder and which was causing the issue, upon removing the file from theme folder it removed the error. Just copy the components from vendor to theme checkout_cart_index.xml which require changes.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.