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

1 Answer 1

0

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

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.