node.js express won't open in browser - node.js

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!

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)

Related

flutter web app showing blank screen after releasing on Node JS server

I have made a Flutter Web app and it is running perfectly on Debug and Release mode. But when I deploy it to my NodeJS webserver which serves the Webpage index.html from the contents which were built by running command flutter build web, I get a blank screen (White) whenever I try to access the webpage using google chrome by typing out the URL. I have inspected the webpage too but found no errors on it.
Can anyone find any reasons for this and how to solve it?

Internal server error deployment on Azure - node.js and Vue.js

I have been looking all over the internet for two weeks now and I have no clue what is happening.
I have an app running on a node.js server. The app uses the Vue.js framework and Vuetify.js, so I don't have a "traditional" js server. The website works perfectly on local, but every time I try and deploy it on an Azure (Windows) web application (per request from the company I am developing for), the only thing that is displayed is this: " The page cannot be displayed because an internal server error has occurred. ".
I did set the Azure Web App to use node.js as instructed on the official documentation.
According to my searches, it is probably a problem with my web.config file, but I can't seem to solve it, so would be really happy if someone could help me out here.
What I have tried so far:
multiple versions of the Web.config file
opening the 443 and 80 port on the Azure Web App to rule out any kind of conflict there
moving around my Vue classes to try and solve a problem there
making the front end in HTML files and in Vue files. Right now it is back into Vue files
I can't seem to find what else to try and would be really grateful if anyone had a solution!
I can add my web.config here if needed
Thanks in advance!

node js process name on windows

I'm new to Node.js
I created a node js sample project on WebStorm11 using the "Node.js Express App" template.
I added an html file and just opened it on browser and it worked.
My question is how I know what process on Windows is managing the requests to my application? I want to stop it through Task Manager.
Besides, I tried to stop the process by typing ctrl+c in command line and it didn't work. Any suggestions why?
Any help will be profoundly appreciated!
Seems you didn't run your Express application, did you? Opening HTML file in browser, well, just opens it on WebStorm default built-in webserver, it doesn't start your Express server. Please see https://confluence.jetbrains.com/display/WI/Running+and+debugging+Node.js+application for instructions on running Node.js applications in WebStorm

NodeJs started, working but nothing is displayed

I am working on a NodeJs/Angular application that is based on the article example provided through the MEAN.js stack. I have been spending many hours developing things, and everything worked fine - until just now.
When I start my application using 'npm start' my app is found and everything seems to work as expected, but nothing is shown in my browser, even though it seems like all scripts can be found and the browser receives HTML.
When I inspect the source code in the browser window it shows a complete HTML file with all required CSS and JS files. The files can be found; clicking on a link shows the source.
I did an 'npm update' recently, and I suspect that the problems started there. Maybe there is an updated external module that doesn't interact with some other module, but I have no idea how I can find out which one.
Any ideas? Thanks in advance.
you are missing JQuery in <script>

Running unity with NodeJS

I'm using NodeJS with Express and trying to run a Unity html file on my site.
Basically what I'm trying to do is to get a Unity html file I have to play on my NodeJS site. The files are WebPlayer.html and WebPlayer.unity3d. If I open up the local copy of WebPlayer.html in my browser, the game plays fine. However, if I try to run the game through my site, I get the message Failed to download data file. I've looked this up, and have seen people having the same issues as me, but couldn't find too many helpful suggestions from people using node. Any help would be appreciated. Thanks!
Running the local copy in my browser (unity is loading the game and is working fine). file:///Users/thomasbaldwin/Desktop/WebPlayer.html
Running the WebPlayer.html file on my local server.
http://localhost:3000/account/game/

Resources