javascript – how to fix this error when I open my project from VSCode?


Refused to execute script from ‘http://127.0.0.1:5500/assets/scripts/script.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
index.html:41

no matter what I did, the error doesn’t go away

I tried everything I found on the Internet, nothing helped, well, it helped partially, but it didn’t solve the error itself



Source link

Leave a Comment