-
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.4.4 JS-minification does not work "unexpected token const" #35366
Comments
Hi @antonfries. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-November. Thank you for working on this issue.
|
Hi @antonfries , |
There is still this problem, the admin menu does not work, in production mode |
Same, still error in production |
Same for me. patch no working |
Do you try to upgrade, deploy and flush cache? |
@ssx if you any idea, can you please tell me, how to apply this patch via composer.json?? For example, if specific module patch then we can apply like but here patch we have to apply inside lib directory so not getting me what could be the module name at place of "magento/module-cache-invalidate". if anybody know, please help! Thanks, |
After magento2.4.5 js is compressed, the production mode, the product cannot be saved, and the cms article cannot be saved |
You have to use "magento/magento2-base" - after composer update/install the files getting copied to main directory, if missing |
@antonfries thanks a lot for your reply and it's works perfectly. |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
No javascript errors
Actual result (*)
If enabling dev/js/enable_js_bundling too, toggling menus in backend is not possible anymore (this is, how we discovered the bug):
The text was updated successfully, but these errors were encountered: