reactjs - React native:NPM 无法安装 react-navigation(不在 npm 注册表中)
问题描述
我正在尝试安装react-navigation
,但无法弄清楚为什么 npm/yarn 无法检索依赖项(npm http fetch GET 404 http://registry.npmjs.org/@react-navigation%2fnative 1193ms)
这是完整的日志。有什么想法吗?
提前致谢
npm install #finishes OK
npm install --save-dev react-navigation
npm info using npm@6.8.0
npm info using node@v11.3.0
npm verb npm-session 7dacdbc55ea7d70c
npm http fetch GET 200 http://registry.npmjs.org/react-navigation 24ms (from cache)
npm timing stage:loadCurrentTree Completed in 1708ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 11ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 880ms
npm http fetch GET 200 http://registry.npmjs.org/react-navigation-drawer 29ms (from cache)
npm http fetch GET 200 http://registry.npmjs.org/react-navigation-tabs 30ms (from cache)
npm http fetch GET 200 http://registry.npmjs.org/@react-navigation%2fcore 33ms (from cache)
npm http fetch GET 200 http://registry.npmjs.org/react-navigation-stack 36ms (from cache)
npm http fetch GET 404 http://registry.npmjs.org/@react-navigation%2fnative 1193ms
npm http fetch GET 404 http://registry.npmjs.org/@react-navigation%2fnative 1135ms
npm timing stage:rollbackFailedOptional Completed in 0ms
npm timing stage:runTopLevelLifecycles Completed in 4939ms
npm verb stack Error: 404 Not Found - GET http://registry.npmjs.org/@react-navigation%2fnative - Not Found
npm verb stack at res.buffer.catch.then.body (/check-response.js:104:15)
npm verb stack at process.internalTickCallback (internal/process/next_tick.js:77:7)
npm verb statusCode 404
解决方案
推荐阅读
- woocommerce - WooCommerce:如何在结帐时复制延期交货产品的运费?
- wso2 - 有没有办法从序列中调用 WSO2 代理服务?
- python - Python Flask ajax POST 400 BAD REQUEST
- rust - 如何在 Bevy 中任意移动用户输入的相机
- python - 使用 format() 函数的粗体文本
- python - 用户输入“0”后如何退出while循环?如果用户输入其他任何内容,我希望它继续
- xamarin - 如何在同一个应用程序会话中更新 xamarin Essentials 首选项
- dart - 如何在 Dart 中声明一个锯齿状数组
- r - 从边界内填充 OSM 数据的 PostGis 数据库中查询所有主要道路
- laravel - 如何使用特定房间的用户并使用特定的 spatie 标签过滤这些用户?