0

When I start node app I get the following warning. I am on windows 10.

WARNING: NODE_ENV value of 'dev ' did not match any deployment config file names.

package.json

"scripts": {
    "start": "set NODE_ENV=dev&& nodemon server.js",
    "test": "mocha --timeout 10000"
  }

dev.json file is already under config folder though but I am not sure why does it say 'dev ' instead of 'dev'

Any help is highly appreciated.

Prithviraj Mitra
  • 11,002
  • 13
  • 58
  • 99

1 Answers1

0

I changed from dev to devtest and it worked.

Prithviraj Mitra
  • 11,002
  • 13
  • 58
  • 99