【发布时间】:2019-09-28 07:11:56
【问题描述】:
我已经安装了 nodemon(在本地、全局和作为开发依赖项中尝试过),我收到了 nodemon 已正确安装的消息:
+ nodemon@1.19.0
updated 1 package and audited 2357 packages in 24.027s
found 0 vulnerabilities
我的 package.json 文件如下所示:
{
"name": "tests-node",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.16.4"
},
"devDependencies": {
"nodemon": "^1.19.0"
}
}
但是当我运行它时,我得到 nodemon 不存在的消息(消息是法语):
'nodemon' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
【问题讨论】:
标签: nodemon