我已经使用这些命令安装了nodemon
npm install nodemon
npm安装成功,
运行nodemon server.js
后显示错误
'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
[nodemon] app crashed - waiting for file changes before starting...
答案 0 :(得分:1)
也许您可以尝试安装并保存react-scripts依赖项,看看是否可以解决您的问题:
npm i -S react-scripts
希望有帮助!