[英]'nodemon' is not recognized as an internal or external command, operable program or batch file
I'm trying to install nodemon globally, but I'm getting warning as mentioned in attached picture. 我正在尝试在全球范围内安装nodemon,但是我收到警告,如所附图片中所述。 May be because of warning, I'm not able to run nodemon.
可能是由于警告,我无法运行nodemon。 My package.json
我的package.json
{
"name": "learn",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"author": "himanshu",
"license": "ISC",
"dependencies": {
"bcrypt-nodejs": "0.0.3",
"body-parser": "^1.17.2",
"express": "^4.15.4",
"mongoose": "^4.11.7",
"morgan": "^1.8.2"
}
}
我已经将C:\\Users\\username\\AppData\\Roaming\\npm
到系统的环境变量中,它解决了我的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.