使用create-react-app命令创建一个项目, 运行npm run eject报错

解决方法:

git add .

  

然后

git commit -m ‘init’

然后再npm run eject

原文地址:https://www.cnblogs.com/liqiong-web/p/10208092.html