I was making code with Three.js and imported 3D Scrolling Portfolio Website with Three.js. I started up the file and everything, created a scene, etc., but when I ran it, I got
crbug/1173575, non-JS module files deprecated. chromewebdata/(index)꞉6772:83:6772
The page would not load whenever I tried to run it through main.js. I tried running it through index.html and it worked after I deleted the launch.json file which was created after running the code. I restarted Chrome and Visual Studio Code as well. How can I get the page to load through main.js, so my scene will render and the JavaScript will work?
My launch.json file looks like this:
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}