Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I run my node.js express web application

Node.js and the express generator are really handy and simple to understand. I cannot however get my server to start by running c:\my-application-root>DEBUG=my-application ./bin/www

Windows doesn’t seem to understand that command. I can however run it by calling node ./bin/www

Am i missing something?

like image 917
Dieter 'user1027339' Avatar asked May 18 '14 22:05

Dieter 'user1027339'


1 Answers

Did you try set DEBUG=my-application followed by node ./bin/www? Windows does not allow setting an environment variable in the way that Linux and others do.

like image 110
mscdex Avatar answered Oct 21 '22 05:10

mscdex