yarn add react native reamated native手势处理程序react nativescree



我正在运行以下命令,但收到错误command failed。退出代码: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.

考虑https://github.com/react-native-community/masked-view.git无法访问,必须是:

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

还检查ssh-Tvgit@github.com确实以一个";欢迎"消息,包括预期的GitHub用户帐户。

最新更新