[Solved] Crbug/1173575, non-JS module files deprecated.

The error Crbug/1173575, non-JS module files deprecated occurs basically when you are running the projects in VSCode with launch.json for debugging the application.

In this tutorial, we will check what is Crbug/1173575, non-JS module files deprecated and how to fix this error with examples.

How to fix Crbug/1173575, non-JS module files deprecated.

The Crbug/1173575, non-JS module files deprecated is a very generic error and it occurs for many reasons and there are different solutions.

Solution 1 – Delete launch.json file in VSCode

The most common reason is when you try to debug the application using the wrong configuration in the VScode launch.json this error would occur.

The best way is to delete the launch.json file and run the application and see if this fixes the issue. In most cases, this would solve the error.

Solution 2 – Check the port and HTTPS configuration in launch.json

There are times that the port you are using may not be opened or it might be used by another application and when you try to run the application you will get this error.

Configure the same port in launch.json for debugging purposes, providing a different port also will lead to this error.

Also, ensure that you are using the correct protocol and the same is configured in the launch.json. Sometimes the application is configured to run using HTTP but you might be running using HTTPS.

Try checking your URL, routes, and settings and ensure the correct protocol is used everywhere.

Solution 3 – Run the application in VsCode

Instead of launching your application using the option Launch Chrome against localhost, rather set your application name for launching.

Conclusion

The error Crbug/1173575, non-JS module files deprecated occurs mainly if you are trying to debug the application in VSCode and Chrome browser. There are various reasons why you get the error.

The issue can be resolved by deleting the launch.json file in the VSCode and also ensuring the port is opened and configured properly in the launch.json and the right protocol(http/https) is used to browse the application.

Leave a Reply

Your email address will not be published.

Sign Up for Our Newsletters

Get notified of the best deals on our WordPress themes.

You May Also Like
Javascript

Javascript URLEncode

Let us take a look at what would be the best approach for Encoding URL using Javascript. There are basically 3 Javascript URLEncode methods available. Types of Javascript URLEncode escape()…
View Post