[英]React App Problem With “npm start” command
After Installing React App, I encountered with this error after running the command "npm start"安装 React App 后,运行命令“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 1)npm i -g create-react-app
2)create-react-app my-react-app 2)创建反应应用程序我的反应应用程序
Now You are Good to GO... :)现在你对 GO 很好...... :)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.