After Installing React App, I encountered with this error after running the command "npm start"
Cannot destructure property compile of 'undefined' or 'null'.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tanaaz@0.1.0 start: node scripts/start.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tanaaz@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/****/.npm/_logs/2018-12-06T11_41_02_180Z-debug.log
And The Fix for this error is
If You still have some errors
1)npm i -g create-react-app
2)create-react-app my-react-app
Now You are Good to GO... :)
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.