我想退出我的应用程序,所以我npm run eject
在cmmand行中使用了代码:但是它告诉我失败了。这些都是日志:
Remove untracked files, stash or commit any changes, and try again.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] eject: `react-scripts eject`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] eject 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! C:\Users\Pigpigever\AppData\Roaming\npm-cache\_logs\2017-08-
14T09_03_14_398Z-debug.log
谁能告诉我该怎么做?
该错误消息尚不十分清楚(事实上,GitHub上存在一个未解决的问题来改进它)。
create-react-app
防止您在未先对Git进行任何重大更改之前就退出应用程序-这样,如果退出会破坏事情(或者如果您只是确定自己犯了一个错误并想返回),则可以恢复投影到以前的样子。
如错误消息所述-要使命令正常工作,您需要:
.gitignore
)。本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句