react-native - “npm runeject”成功弹出,但后面跟着“找不到批处理文件”。
问题描述
我用 . 创建了一个新项目。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
解决方案
推荐阅读
- sqlplus - SQL Plus 在 ADR 初始化期间错误检查目录存在但目录存在
- r - 并排图的通用标题
- javascript - Javascript 过滤空值
- css - 如何在分页中的移动视图上显示更少的页面数量?
- java - 应该下载 jmf 可执行文件吗?
- django - Django web-push“'save_webpush_info'的反向”
- sumo - 使用 Node 而不是 TAZ 在 sumo 中制作 OD 文件
- prolog - 在 Prolog 中创建知识库和查询
- sql - 将每月固定值拆分为 Redshift 中的天数和国家/地区
- python - 使用 Flask 上传文件列表时 request.files 为空