0

Take a look!

So, the question is simple, what can i do to fix what you can see in that picture?

Some js are failed, not all of them, just those 5.

1
  • are these scripts are custom or default? Feb 7, 2017 at 20:20

1 Answer 1

0

There are a lot a reasons why JS might not be loading on a site. In your case, it looks like these are core JS assets that are failing to load. So i would say the first thing you should so is recompile your files in the pub/static folders.

In your console run:

rm -rf pub/static/frontend/*

and then:

php bin/magento setup:static-content:deploy

to recreate all the front end files for the site. And then for good measure, run:

php bin/magento cache:clean

If you re-load the page and you are still finding that your JS isn't loading, i would then check the file permisssion and ownership of the pub/static/ and var/ folders to make sure that your web server can see the files and read them

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.