简体   繁体   English

无法将“ nodemon”识别为内部或外部命令,可操作程序或批处理文件

[英]'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.

相关问题 在 nodejs 中使用 npm 开始的问题。 'nodemon' 不是内部或外部命令、可运行程序或批处理文件 - poblem with use the npm start in nodejs . 'nodemon' is not recognized as an internal or external command, operable program or batch file 'cocos'不被识别为内部或外部命令,可操作程序或批处理文件 - 'cocos' is not recognized as an internal or external command, operable program or batch file '。' 不被识别为内部或外部命令,可操作程序或批处理文件 - '.' is not recognized as an internal or external command, operable program or batch file '' 不被识别为内部或外部命令,可操作程序或批处理文件 - '.' is not recognized as an internal or external command, operable program or batch file 'express' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'express' is not recognized as an internal or external command, operable program or batch file 'firebase' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'firebase' is not recognized as an internal or external command, operable program or batch file 'CI' 不是内部或外部命令,也不是可运行的程序 或批处理文件 - 'CI' is not recognized as an internal or external command, operable program or batch file 'lightercollective' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'lightercollective' is not recognized as an internal or external command, operable program or batch file 无法将“节点”识别为内部或外部命令,可操作程序或批处理文件 - 'node' is not recognized as an internal or external command, operable program or batch file 在 Windows 上运行forever.js 时出错-“'C:\\Program' 不是内部或外部命令、可运行的程序或批处理文件” - Error running forever.js on Windows - "'C:\Program' is not recognized as an internal or external command, operable program or batch file"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM