2

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)

asked Dec 31, 2019 at 11:20
3
  • confirm you set proper permission into magento. Commented Dec 31, 2019 at 14:13
  • I gave permissions to var, pub, generated folders Commented 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? Commented Jan 2, 2020 at 13:26

2 Answers 2

1

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.

Dhaduk Mitesh
1,6951 gold badge13 silver badges29 bronze badges
answered Jan 2, 2020 at 21:03
0

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

Sanjay Gohil
2,2061 gold badge15 silver badges29 bronze badges
answered Jan 2, 2020 at 17:44

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.