Oscar Oscar - 5 months ago 11
Node.js Question

NodeJs: Express app don't start in windows

I'm just starting with node.js and express framework, following this tutorial:

http://expressjs.com/starter/generator.html

After running in console

express myapp
and
cd myapp && npm install
when I run
node app.js
nothing happens. The command returns immediately, while I was expecting it to wait for incoming messages. No error are shown either. I'm on Windows 7 x64 and the commands are run from an ADMIN console.
Any help will be appreciated.

Max Max
Answer

The tutorial says to run

set DEBUG=myapp & node ./bin/www

You don't run it with

node app.js

in express v4.x

Comments