1

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.

asked Jul 30, 2019 at 10:43

3 Answers 3

8

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

answered Oct 17, 2019 at 17:21
5

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.

answered Aug 6, 2019 at 4:43
2
  • 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 @ChiragPatel Commented Aug 13, 2019 at 20:35
  • You are welcome :) Commented Aug 14, 2019 at 4:34
0

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?

answered Jul 30, 2019 at 10:47
4
  • 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. Commented Jul 30, 2019 at 11:05
  • @ChiragPatel Same issue here when upgrading to 2.3.2. Any resolution or tips? Commented Aug 6, 2019 at 4:06
  • Are you using one page checkout? Commented Aug 6, 2019 at 4:32
  • @Mike Dubs See my answer. Commented Aug 6, 2019 at 4:43

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.