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.
I changed from dev to devtest and it worked.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.