npm rn eject报错

版权声明:小苹果的成长笔记 https://blog.csdn.net/weixin_42416812/article/details/89419299

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.

**

解决方案:

git  add .
git commit -m "init"
npm run eject

**

猜你喜欢

转载自blog.csdn.net/weixin_42416812/article/details/89419299
RN