简体   繁体   中英

how do I create a new project with create-react-app

I new started use for mac os. While created a new project with create-react-app, I take a that error:

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

You need to run:

npm install

Before you can run:

npm start

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM