首页 > 其他 > 详细

npm run eject“Remove untracked files, stash or commit any changes, and try again.”错误

时间:2021-05-18 15:36:30      阅读:36      评论:0      收藏:0      [点我收藏+]

1.错误:

Remove untracked files, stash or commit any changes, and try again.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-app@0.1.0 eject: `react-scripts eject`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the react-app@0.1.0 eject script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


2. 原因
构造项目的时候出现git
技术分享图片

 

 3. git add  .

4. git commit -m "up"

5. npm run eject




E:\react\admin>
E:\react\admin>npm run eject
技术分享图片

 

 

npm run eject“Remove untracked files, stash or commit any changes, and try again.”错误

原文:https://www.cnblogs.com/youran-he/p/14780662.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!