'VM305:5551 crbug/1173575, non-JS module files deprecated
I'm getting this error on browsers console, and js file are not loaded:
VM305:5551 crbug/1173575, non-JS module files deprecated.
But if I use a private windows, there is no error and the webpage works.
Solution 1:[1]
I deleted the launch.json file, it worked for me
Solution 2:[2]
This question needs more info. What js library are you using and how are you running it?
crbug/1173575 is a reference to chrome bug # 1173575. One good place to start would be reading more about it at crbug.com/1173575.
Solution 3:[3]
I had this problem twice in React.js. Both while using libraries for pdf to image preview. One was Mozilla's PDF.js library. The npm package is known as 'pdfjs-dist'. When I removed this package, the error was gone and the server ran perfectly normal.
These libraries might be using old cr.js or module technologies.
Solution 4:[4]
if you don't want to delete anything then just type in the terminal of your project :
npm i
to reinstall/ recheck dependencies.
Solution 5:[5]
Personnaly, I suddenly encountered this problem today while I never encountered it before. Deleting the launch.json didn't fixed the problem. I opened that file and saw that the url tag was followed by "http://localhost:8080" instead of my HTML file's path. So I replaced "http://localhost:8080" with the path of my HTML file, then it was working again.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mba Gozpel |
| Solution 2 | Oliver Whittlef |
| Solution 3 | greybeard |
| Solution 4 | Webnum |
| Solution 5 | Nyusuka N243 |
