[英]how do I create a new project with create-react-app
我新开始使用Mac OS。 当使用create-react-app创建一个新项目时,出现了一个错误:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! recipe@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the recipe@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/macbook/.npm/_logs/2019-08-21T16_25_25_607Z-debug.log
您需要运行:
npm install
在运行之前:
npm start
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.