0

i am working a magento 2.4.3 the config (dev/js/minify_files) is set to 1. When i try to run the command

bin/magento setup:static-content:deploy

The script exit with the following error

Error happened during deploy process: The contents from the "/var/www/vhosts/{domain}/httpdocs/development/shop/pub/static/adminhtml/Magento/backend/en_US/requirejs-min-resolver.min.js" file can't be read. Warning!file_get_contents(/var/www/vhosts/{domain}/httpdocs/development/shop/pub/static/adminhtml/Magento/backend/en_US/requirejs-min-resolver.min.js): failed to open stream: No such file or directory

I see the magento is not generating minified version of the Javascripts files. Any help will be appreciated

asked Jul 1, 2022 at 15:07

1 Answer 1

1

Find finally. If you are using advanced JS bundling then js merge and js bundling should be off otherwise it will throw this error

answered Jul 21, 2022 at 13:52

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.