Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error with run "npm run eject". Error 'Remove untracked files, stash or commit any changes, and try again.'

I have try lot's of things to solve this error.

Command:'npm run eject'

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!     /home/deep/.npm/_logs/2018-02-18T17_05_02_924Z-debug.log

How can help to solve this problem..

like image 545
Mr Singh Avatar asked Feb 18 '18 17:02

Mr Singh


1 Answers

You need to commit your changes before running eject:

git add .
git commit -am "change messages before running eject"

Now, Try

npm run eject
like image 168
samrat shakya Avatar answered Oct 19 '22 08:10

samrat shakya