我使用create-react-native-app
创建了一个新项目。但是,在运行npm run eject
时,它会显示已成功弹出!,但随后显示
[15:29:29] Ejected successfully!
The batch file cannot be found.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ eject: `expo eject`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ 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\AppData\Roaming\npm-cache\_logs\2019-02- 06T09_59_29_832Z-debug.log
npm版本:v8.11.2