【发布时间】:2019-03-20 06:35:12
【问题描述】:
我遵循 udemy 课程,使用 create-react-app,然后使用 npm start 启动 localhost。在我安装 react-router-dom 之前它工作正常,然后我在终端中收到此错误:
react-scripts' is not recognized as an internal or external command, operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! venue@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the venue@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
有人可以解释发生了什么吗?以及如何解决它?
谢谢
【问题讨论】: