“ npm run弹出”成功弹出,但后跟“找不到批处理文件。”

时间:2019-02-06 10:16:53

标签: react-native npm

我使用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

0 个答案:

没有答案