According to the online method (VSCODE debug Javascript), after installing the debugger for Chrome extension, debug JavaScript, the result is not able to display the web page in the browser correctly, the wrong report: “crbug/1173575, non-JS module files deprecated”, as shown in the following figure:
resolvent:
Open launch.json and change the port number in “URL” in “configurations” to the port number of live server
Save, and then press F5 again to debug normally
Read More:
- [Solved] Vite Error: Failed to load module script: Expected a JavaScript module script but the server…
- ArcGIS API for JavaScript version 4. X updated and the project startup error: Module parse failed: Unexpected token(… …
- [Solved] VS Code Error: Vetur can‘t find ‘tsconfig.json‘ or ‘jsconfig.json‘
- Google browser plug-in JavaScript errors Notifier
- [Solved] Project Package Error: Javascript heap out of memory
- Javascript: Simple package localStorge operation
- JavaScript Common Errors List (Reasons & Solutions)
- Vue3.0 Use el-dialog visible Error: ‘.sync‘ modifier on ‘v-bind‘ directive is deprecated. Use ‘v-model:pro
- [Solved] Vue Project Modify Page Error: CALL_AND_RETRY_LAST Allocation failed – JavaScript heap out of memory
- Javascript: js websocket disconnected reconnect library ReconnectingWebSocket
- [Solved] Warning: To load an ES module, set “type“: “module“ in the package.json or use the .mjs extension
- Error when Python executes JavaScript statement
- [Solved] Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory
- [Solved] Vue Compile Error: JavaScript heap out of memory
- ArcGIS API for JavaScript Error Uncaught(in promise): TypeError: xxx is not a constructor
- JavaScript determines whether parentheses are paired.
- Javascript SecurityError: Failed to read the’localStorage’ property from’Window’: Access is denied for this document.
- Javascript: How to Use Date.Now() to implement front-end frequency limit
- JavaScript determines whether it’s morning or afternoon or evening
- [Solved] Error:Plugin/Preset files are not allowed to export objects, only functions