Nodemon不起作用:[nodemon]不起作用

时间:2020-09-24 07:50:10

标签: node.js nodemon

nodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ nodemon ap.js
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (nodemon:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

1 个答案:

答案 0 :(得分:0)

将nodemon安装为全局软件包

npm install -g nodemon