報錯代碼:
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!
解決方案:
第一步:提交未提交的文件
git add 未提交的文件
第二部:
git commit -m "init"
第三部:npm run eject