Express not working

express
nodejs

#1

I am trying to install and require express, but it kept showing me this complicated list of errors.
I did the “npm init” and also “npm install express --save.” what is weird is that express is downloaded, and i can see it inside the dependencies. But when i require it and use it inside app.js, and run “node app.js” nothing shows up. It shows the the c9 default IDE Application page instead of my code. Can anyone help me with what i am doing wrong. I have used express many times, but i don’t know what happened now. Thanks guys!


#2

Are you binding your express application server to the correct port? Take a look at our documentation on ports in hosted workspaces for more information :slightly_smiling_face:


#3

Thank you Abailiss. I will check it…!