This is still an issue. But I was able to test the dist folder of files on our server and it works, showing the default sphere. Also, if I double-click on the index.html file and run it in the default browser it shows properly locally. (or right click and launch it with the go live server, or select index.html and click the Go Live button in the lower right of the IDE, which now works properly, not sure why, but I’ll take it).
Correct, on my local system. Trying to run it localhost as per the directions on the official website (link in previous post here). Then I sent it to our company server and it worked fine. But the interactive work of debugging is needed. Waiting to build and review is too time intensive for our needs.
Does running npm run start work? You will need to make sure this task runs as well in order to debug correctly. Did you get this launch configuration somewhere from our docs? I am trying to understand if we explain incorrectly, or you are missing a step.
It looks like you only ran a regular npm install and so the optional packages that are used during development weren’t installed.
Since webpack-dev-server isn’t working, you should run npm install --include=dev to make sure that the package is present in your node_modules folder. This is assuming it’s indeed added as a development dependency and not a regular one (check devDependencies in your package.json).
Alternatively, you could try npx webpack-dev-server, although it shouldn’t be necessary to install it globally.
[webpack-dev-server] Project is running at: [webpack-dev-server] Loopback: http://localhost:8080/… (continued on).
Hit ‘F5’ when I saw 'webpack 5.73.0 compiled successfully in 643 ms (with no command prompt, just a tall rectangle icon, and I was in debug node with the sphere and background showing in the Chrome browser that popped up.
I hope this helps others that may run into this issue.
Thanks to everyone that helped me to work to solve this issue. Team work helped keep me motivated to a solution sooner than later. THANK YOU!