node.js - 错误在“npm”注册表上找不到“@jest/reporters@^24.5.0”所需的包“@jest/environment@^24.5.0”
问题描述
我对 React Native 完全陌生,我正在使用 React Native CLI在https://facebook.github.io/react-native/docs/getting-started上关注 Facebook 的教程。
昨天,我成功创建了一个项目。今天,当我创建一个空文件夹并运行时,react-native init AnotherProject
我得到:
error Couldn't find package "@jest/environment@^24.5.0" required by "@jest/reporters@^24.5.0" on the "npm" registry.
我究竟做错了什么?我在 npm 6.7.0 和节点 11.12.0 上。
解决方案
诡异的。我再次运行了完全相同的命令,并且成功了。
推荐阅读
- spring - 骆驼路线按文件过滤
- apache-zookeeper - 快照目录有日志文件。检查 dataLogDir 和 dataDir 配置是否正确。+ Zookeeper 启动
- python-2.7 - 单位球面上的曲面积分
- c# - 响应完成后在后台任务中使用 HttpContext
- postgresql - Postgress Group BY 与 to_tsquery
- python - 烧瓶中的图片未加载到路径中
- php - 将所有页面重定向到php中的单个页面没有htaccess
- python-3.5 - ete3 错误:无法翻译成出租车!- 生物信息学
- javascript - TypeScript 类型断言不会因错误值而失败
- sql - 在oracle中拆分包含逗号分隔值的两列