node.js express won't open in browser

Issue

I can open a browser page with HTML/CSS & it works, but when I type in the code for node.js then click on Go Live, the files show up but no message or any network traffic. I updated everything. I even copied & pasted the code from Node.js for the express server but it won’t load to the browser. this is all that shows up.

Your help will be greatly appreciated!

Solution

Go live (with VSCode Live Server Extension) and running your server with Node.js are two different things.
Check Node.js getting started documentation (Link)

Answered By – leuk7

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published