0

I can't find where this error comes from my custom child theme.

Error: Script error for: priceBox

http://requirejs.org/docs/errors.html#scripterror

Error: Script error for: jquery/jquery-storageapi

Error: Script error for: ko

http://requirejs.org/docs/errors.html#scripterror

Nb: I also noticed that the error is present in all the themes even the Magento/blank or luma !

  1. I created a child theme from Magento/blank parent <parent>Magento/blank</parent>.

  2. I cleaned the cache, pub/static, var/view_preprocessed/ except .htaccess,

  3. I deployed the static content php bin/magento setup:static-content:deploy -f

0

I had a similar issue with "Error: Script error for: jquery/jquery-storageapi" after running "bin/magento setup:static-content:deploy -f".

What I did to resolve this was set mode to production

bin/magento deploy:mode:set production

then set back to developer

bin/magento deploy:mode:set developer

then redeployed to rebuild the pub/static files:

bin/magento setup:static-content:deploy -f

then cleared the cache with:

bin/magento cache:clear

I double checked the folder permissions for pub/static and var/cache to ensure they were generated with the correct user/group and after refreshing the page (clearing browser cache) the errors were gone.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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