Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A bad HTTP response code (404) was received when fetching the script

Tags:

angular

Error I'm getting in chrome dev: Error I'm getting in chrome dev

After using ng serve I continuously get these error and I've researched hard on how to clear them but no avail although the app seems to work well, I just need to clean up those errors

like image 282
TOLULOPE ADETULA Avatar asked Dec 11 '22 08:12

TOLULOPE ADETULA


2 Answers

Chrome=>Dev Tools=>Application=>Service Workers=>Update on reload (selected)

More details

like image 67
Nafis Avatar answered May 23 '23 02:05

Nafis


On the page where these errors are displayed, go to Dev Tools -> Applications -> Clear storage -> Clear site data. The Service Workers has one feature, it really will cache the information. I hope this helps you.

like image 22
al-bulat Avatar answered May 23 '23 02:05

al-bulat