1

I'm using windows 7. I try to use SET NODE_ENV="development" command from cmd but this won't help. Also in npm in scripts I use NODE_ENV=development node app.js. But env still undefined.

Jordan.J.D
  • 7,999
  • 11
  • 48
  • 78
Oleg Baranovsky
  • 368
  • 5
  • 22

1 Answers1

2

Solution:

"scripts": {
    "start": "set NODE_ENV=development&& node app.js" 
}
Oleg Baranovsky
  • 368
  • 5
  • 22