我正在运行下面的命令,但获取error命令失败。退出代码:128....我已经生成了SSHKey,并将其复制到我的Github个人资料中。
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.发布于 2021-06-21 14:30:55
考虑到https://github.com/react-native-community/masked-view.git不可访问,它必须是:
react-native-community组织的成员。还要检查ssh -Tv git@github.com是否以“欢迎”消息结束,其中包括预期的GitHub用户帐户。
https://stackoverflow.com/questions/68053684
复制相似问题