Oscar Oscar - 4 months ago 6x
Node.js Question

NodeJs: Express app don't start in windows

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


After running in console

express myapp
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

The tutorial says to run

set DEBUG=myapp & node ./bin/www

You don't run it with

node app.js

in express v4.x