We're getting a lot of error messages on the console about missing JS libraries after minify the js in Magento 2.3.3 (on both frontend and admin). Apparently they are all related to jquery/ui-modules.
e.g.:
pub/static/adminhtml/Magento/backend/en_US/jquery/ui-modules/timepicker.js
pub/static/version/frontend/theme/en_IE/jquery-ui-modules/resizable.min.js net::ERR_ABORTED 404 (Not Found)
pub/static/version/frontend/theme/en_IE/jquery-ui-modules/slider.min.js net::ERR_ABORTED 404 (Not Found)
pub/static/version8/frontend/theme/en_IE/jquery-ui-modules/timepicker.min.js net::ERR_ABORTED 404 (Not Found)
-
confirm you set proper permission into magento.Dhiren Vasoya– Dhiren Vasoya2019年12月31日 14:13:54 +00:00Commented Dec 31, 2019 at 14:13
-
I gave permissions to var, pub, generated foldersvenkata prasad– venkata prasad2020年01月02日 06:10:55 +00:00Commented Jan 2, 2020 at 6:10
-
Are you signing your files ? devdocs.magento.com/guides/v2.3/config-guide/cache/… Does this happen with both: developer and production mode?Antonino Bonumore– Antonino Bonumore2020年01月02日 13:26:09 +00:00Commented Jan 2, 2020 at 13:26
2 Answers 2
I could not understand the issue scenario, however, I am trying to help in general. As I learn you are using Magento 2.3.3. In this Magento refactored jQuery/ui to separate widgets.(Details)
All you have to do edit requirejs-config.js as in
map: {
'*': {
'jquery/ui: 'jquery/compat'
}
}
and in
paths: {
'jquery-ui-modules': 'jquery/ui-modules',
}
I hope it will solve your issue.
Set proper file permission like
and then run below command to regenerate static contents
php bin/magento setup:static-content:deploy
and if multiple languages then add each language
php bin/magento setup:static-content:deploy en_US en_GB nl_NL
Explore related questions
See similar questions with these tags.