尝试创建我的第一个React项目并遇到“找不到二进制脚本”错误

时间:2020-08-26 14:12:05

标签: javascript reactjs react-native react-redux

我正在针对udemy:https://www.udemy.com/course/react-redux/learn/lecture/17276262#questions

开始此反应课程

要创建我们的第一个项目,我被指示去做

  • install node
  • install create-react-app
  • npx create-react-app myapp

我可以创建应用程序,但是当我尝试启动npm / yarn时,会引发此错误:

jsx git:(master) yarn start

yarn run v1.22.4

$ react-scripts start

error Couldn't find the binary react-scripts start

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

有什么建议吗?谢谢!

0 个答案:

没有答案