hey, I'm encounting an error message: "Failed to load module script: Expected a JavaScript module sc
hey, I'm encounting an error message: "Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec." the js file existed, and at same path as index.html. The framework I'm using is Angular, where it says most services have this on. I'm not sure which part changed, whether the framework, or the build process, or my code. but is there a way to fix it?

0 Replies