我是 Node.js 新手,无法在 VS 工作室中安装和运行 Nodeman。我已经使用命令 npm install -g nodemon 全局安装了 t,然后在用户和系统环境变量中添加了路径。使用命令获取路径 -> npm config get prefix 我不知道我错过了什么。
错误日志:
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
确保路径变量(在环境变量中)中的第一个路径是 NPM 路径。