运行nodemon server.js时显示错误

时间:2019-07-02 18:04:00

标签: reactjs nodemon

我已经使用这些命令安装了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...

1 个答案:

答案 0 :(得分:1)

也许您可以尝试安装并保存react-scripts依赖项,看看是否可以解决您的问题:

npm i -S react-scripts

希望有帮助!