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?
-
Please give the proper permission for pub folderChirag Gondaliya– Chirag Gondaliya2020年10月14日 04:01:10 +00:00Commented Oct 14, 2020 at 4:01
-
All the folder and file permission are ok but doesn't workMD Foysal Afridi– MD Foysal Afridi2020年10月14日 08:26:50 +00:00Commented 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.Virang Jethva– Virang Jethva2023年03月28日 16:17:43 +00:00Commented 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 workMD Foysal Afridi– MD Foysal Afridi2020年10月14日 08:24:23 +00:00Commented Oct 14, 2020 at 8:24
Explore related questions
See similar questions with these tags.