Answer the question
In order to leave comments, you need to log in
Why doesn't nmp run eject work?
Downloaded the lesson. The author in the terminal enters the above command, and he is fine and has no problems. As a result, the config folder appears, and I have this:
react-scripts eject
? Are you sure you want to eject? This action is permanent. Yes
This git repository has untracked files or uncommitted changes:
.idea/encodings.xml
D .idea/misc.xml
D .idea/modules.xml
D .idea/my-app.iml
M .idea/workspace.xml
M package-lock.json
M package.json
M public/index.html
src/App.css
M src/App.js
src/App.test.js
src/logo.svg
src/hoc/
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\Joe\AppData\Roaming\npm-cache\_logs\2019-03-09T18_32_13_689Z-debug.log
Answer the question
In order to leave comments, you need to log in
Your git keeps track of file changes.
If you want to save the changes, then either commit them, or save them in a stashe, that's what it says there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question