Getting Failed to load resource: the server responded with a status of 404 () on


enter image description here

So far I have deleted the static folder and have run the commands below but still, the file does not generate in the given path above.

bin/magento maintenance:enable
bin/magento setup:upgrade
rm -rf var/page_cache/*
rm -rf var/cache/*
rm -rf generated/code/*
rm -rf var/view_preprocessed/*
rm -rf pub/static/_cache/*
rm -rf pub/static/adminhtml/
rm -rf pub/static/frontend/
bin/magento ca:fl
bin/magento ca:cl
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento maintenance:disable

I also have checked the folder permission is also writeable. I haven't changed any js/jquery code it just starts to appear after running full deployment.

Is there anyone who has faced a similar issue in Magento 2 and can someone suggest a solution?

Thank You.

Your Answer

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

Browse other questions tagged or ask your own question.