git - NPM 安装 (@react-navigation/bottom-tabs) 上的“无法从远程存储库读取”
问题描述
我正在尝试安装反应导航底部选项卡包,
npm install @react-navigation/bottom-tabs
但我收到此错误:
npm ERR! command failed
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/react-navigation/bottom-tabs.git
npm ERR! git@github.com: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/********/.npm/_logs/2021-06-13T15_04_43_298Z-debug.log
我查看了这篇文章,但无法解决我的问题。这个错误到底是什么意思?
此外,当我只是尝试克隆回购
git clone ssh://git@github.com/react-navigation/bottom-tabs.git
我得到同样的错误。我能做些什么来解决这个问题吗?
解决方案
推荐阅读
- node.js - 如果对象存在,Express Validator 检查嵌套字段
- python - 将列表值分配给字典
- javascript - 如何添加预先输入值的动态字段?
- javascript - 将 csv 转换为 json 并删除重复项,同时使用 nodejs 将数据保存到 mongodb
- c# - 使用 C# 应用程序中生成的批处理文件解锁 BitLocker 驱动器
- api - Magento 2 GET API 请求显示 404
- c++ - 在 C++ 中指定插入或附加到链表
- javascript - 存储文件内容返回null
- python - 结果是第 9 行。 NameError: name 'total' is not defined。我该怎么办?
- javascript - 谁需要条件(三元)运算符?