6

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.

pub/static/adminhtml/Magento/backend/en_US/requirejs-min-resolver.min.js

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?

Nayem323
7911 gold badge8 silver badges27 bronze badges
asked Oct 13, 2020 at 7:20
3
  • Please give the proper permission for pub folder Commented Oct 14, 2020 at 4:01
  • All the folder and file permission are ok but doesn't work Commented 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. Commented Mar 28, 2023 at 16:17

1 Answer 1

-1
  • Run the Below Command,

  • bin/magento s:up

  • bin/magento deploy:mode:set:production

  • bin/magento c:f

answered Oct 13, 2020 at 11:55
1
  • Already tried above those commend but doesn't work Commented Oct 14, 2020 at 8:24

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.