enter image description here

Magento 2.4.0: The static content deployment command does not create minify file when I am in production mode. Getting error on below file. It's not creating so Magento cannot read it.


It's making some all other files minified except requirejs-min-resolver.js and requirejs-config.js.

Does anyone have any idea how to fix it?

  • Please give the proper permission for pub folder Oct 14, 2020 at 4:01
  • All the folder and file permission are ok but doesn't work Oct 14, 2020 at 8:26
  • is there any solution here? I'm facing the same issue when the mode is production and js merged and minified. Mar 28, 2023 at 16:17

1 Answer 1

  • Run the Below Command,

  • bin/magento s:up

  • bin/magento deploy:mode:set:production

  • bin/magento c:f

  • Already tried above those commend but doesn't work Oct 14, 2020 at 8:24

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.