-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento 2.2.2 /checkout JS Components will not be loaded. #12679
Comments
@aKalisch , thank you for your report. |
I'm having the same problem with a configurable product |
@KoenSlagter ,We were not able to reproduce this issue for configurable product too . Please provide more detailed steps to reproduce or try to reproduce this issue on vanilla instaliation without any extentions if you have, thank you. |
@aKalisch, we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue. |
I have the same issue while load different pages in admin panel. The names of components are different too. Problen on Windows hosted server |
Having same issue. Strange! Any ideas? Did you use the Netresearch_OPS module? |
Same problem after user inline translate and then run a few commands from console... The same errors in the RESUME in cart view.. Somebody who can help me? |
+1 exactly the same. Anyone had a chance to figure this out? UPDATE I've had JS variable in checkout template that was not supposed to be concatenated as a string. @simonmaass I see from your screenshot before all component failures you have 'Unexpected token' error which seems to be JS error which may be impacting checkout. Just a food for thought. Thanks! |
did anyone find the solution? I am stuck here with the same error! =( |
Please try to disable js bundle. Figured out that, in dev mode bundling works, or seems to. But if you activate production mode and deploy static content, it breaks the checkout. |
+1 |
In our case, this was getting caused by issue #14950 Please see my comment on the link. It should fix the problem. |
+1 when upgrade version |
Magento Version 2.2.5 why does the path add this? resource = and why does the system exchange the script by file? |
This is because there might be some javascript errors on your page, try clearing the cache and regenrate the static content if you are running in production mode. If the error still persist then look at the file which might be causing the problem. |
In case that it helps someone, the problem is the annoying Disabling or removing such module from
|
@magento-engcom-team Please reinvestigate. |
Hi @Ctucker9233 this will be fixed by this PR -> #18459 and this issue is duplicate to this -> #12696 |
I was having this issue after upgrading from 2.2.6 to 2.3.1 and I eventually got it to go away. I'm not sure exactly what I did to resolve it but I'll share each step I took.
|
I had the same problem, and in my case, it was caused by an incorrect crypt key set in |
Usually it means that in your customized project As all those components or their sub-components (mentioned on reporter's screenshot) require
For me gave hint local Development mode which didn't hide sub-block crash and I was able to track down the real root cause. For me one custom checkout's CompositeConfigProvider was throwing Exception due sql error but it was hidden in Production mode. |
Thought I'd follow this up for anyone looking for solutions. |
For me this was similar to everyone with configurable products breaking the window.checkoutConfig json giving an unexpected token error. This was called in the shipping template as mentioned and uses the getSerializedCheckoutConfig function from Magento\Checkout\Block\Cart\Shipping class. shipping.phtml The configuration seemed to pull some encoded html that had some problem characters in the case of a configurable product and found that rewriting the function within the Shipping.php file like below fixed the issue: replace: with: |
if some one is using Klarna and Magento version 2.4.3 then you should disable Request Logging in Klarna to get hold of this error |
After I updated from Magento 2.2.1 to 2.2.2 my checkout is not working any longer. This might be only caused when a Virtual Item is placed in Cart.
Preconditions
Steps to reproduce
Expected result
Actual result
JQMIGRATE: Logging is active [2017-12-13 04:53:25] [ERROR] Failed to load the "Magento_Checkout/js/view/summary" component. [2017-12-13 04:53:25] [ERROR] Failed to load the "Magento_Tax/js/view/checkout/summary/grand-total" component. [2017-12-13 04:53:25] [ERROR] Failed to load the "Magento_Checkout/js/view/summary/cart-items" component. [2017-12-13 04:53:25] [ERROR] Failed to load the "Magento_Tax/js/view/checkout/summary/tax" component. [2017-12-13 04:53:25] [ERROR] Failed to load the "Magento_SalesRule/js/view/payment/discount" component. [2017-12-13 04:53:25] [ERROR] Failed to load the "Magento_Tax/js/view/checkout/summary/subtotal" component. [2017-12-13 04:53:25] [ERROR] Failed to load the "Magento_Checkout/js/view/summary/totals" component. [2017-12-13 04:53:25] [ERROR] Failed to load the "Magento_SalesRule/js/view/summary/discount" component. [2017-12-13 04:53:35] [ERROR] Failed to load the "Magento_Checkout/js/view/estimation" component.
The text was updated successfully, but these errors were encountered: