首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >yarn添加react-native-reanimated react-native-gesture handler react-native- react-native-safe-area-context@react-native-community/masked-view

yarn添加react-native-reanimated react-native-gesture handler react-native- react-native-safe-area-context@react-native-community/masked-view
EN

Stack Overflow用户
提问于 2021-06-20 15:40:48
回答 1查看 33关注 0票数 1

我正在运行下面的命令,但获取error命令失败。退出代码:128....我已经生成了SSHKey,并将其复制到我的Github个人资料中。

代码语言:javascript
复制
yarn add react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context@react-native-community/masked-view
yarn add v1.22.10
[1/4]   Resolving packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/react-native-community/masked-view.git
Directory: /Users/admin/Desktop/NBNB
Output:
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
EN

回答 1

Stack Overflow用户

发布于 2021-06-21 14:30:55

考虑到https://github.com/react-native-community/masked-view.git不可访问,它必须是:

  • 一个不存在的存储库(因此出现您的错误消息)
  • 或专用存储库,在这种情况下,请仔细检查您的GitHub用户帐户是否确实是react-native-community组织的成员。

还要检查ssh -Tv git@github.com是否以“欢迎”消息结束,其中包括预期的GitHub用户帐户。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68053684

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档