I am using one-step checkout and getting an error in checkout console. and also page redirects to /noroute/ 404 page.
[ERROR] Failed to load the "Magento_Checkout/js/view/billing-address/list" component.
I have checked in Magento 2.3.2 release note and see there is a change in the checkout, so I think it showing an error because of this.
so I just want to know how to resolve error Failed to load component
Any help would be appreciated! Thanks.
3 Answers 3
Check your modules requirejs-config.js. Probably there is mapping like
"Magento_Checkout/js/view/billing-address": "Vendor_ModuleName/js/view/billing-address",
Then later Requirejs try to load all files that have Magento_Checkout/js/view/billing-address from module where this file doesn't exists.
One option is to add to requirejs-config.js of the module extra line (instead of copying the list.js file to this module)
"Magento_Checkout/js/view/billing-address/list": "Magento_Checkout/js/view/billing-address/list",
Ideally module should use mixins to modify billing-address.js to avoid this kind of issue
Magento 2.3.2 has made big changes in the checkout section. below is the link for changes commit in GitHub.
https://github.com/magento/magento2/commit/8a9a986f930cb5f8516b3fe5ecb6d1a6d3f9e8af
In my case, I need to override the Magento_Checkout/js/view/billing-address/list.js file in a custom module to resolve the issue.
@Mike Dubs you have to check above Magento changes commit to resolve your issue.
-
We had overriden billing-address.js, so I added list.js to a nested billing-address directory and it seemed to sort things out. Thanks @ChiragPatelMike Dubs– Mike Dubs2019年08月13日 20:35:37 +00:00Commented Aug 13, 2019 at 20:35
-
You are welcome :)Chirag Patel– Chirag Patel2019年08月14日 04:34:16 +00:00Commented Aug 14, 2019 at 4:34
Check this link maybe its the same thing.
Magento Checkout Stuck: Failed to load the "Magento_Checkout/js/view/payment" component
Did you make any changes to checkout layout by yourself?
-
Yes i have changed in checkout step, and it is working fine in 2.3.1 but not working in 2.3.2 because of changes in Magento checkout release note.Chirag Patel– Chirag Patel2019年07月30日 11:05:32 +00:00Commented Jul 30, 2019 at 11:05
-
@ChiragPatel Same issue here when upgrading to 2.3.2. Any resolution or tips?Mike Dubs– Mike Dubs2019年08月06日 04:06:22 +00:00Commented Aug 6, 2019 at 4:06
-
Are you using one page checkout?Chirag Patel– Chirag Patel2019年08月06日 04:32:18 +00:00Commented Aug 6, 2019 at 4:32
-
@Mike Dubs See my answer.Chirag Patel– Chirag Patel2019年08月06日 04:43:28 +00:00Commented Aug 6, 2019 at 4:43
Explore related questions
See similar questions with these tags.