您不能安装git私有存储库

您不能安装git私有存储库,git,yarnpkg,Git,Yarnpkg,我使用的是Thread,但对于私有git存储库,它给出了以下错误。npm已成功安装此回购 yarn install v1.2.1 info No lockfile found. [1/4] This works for me: Add the GitHub key to the list of authorized hosts: ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts 纱线安装v1.2.1 信息找不到锁文件。 [1/4

我使用的是Thread,但对于私有git存储库,它给出了以下错误。npm已成功安装此回购

yarn install v1.2.1
info No lockfile found.
[1/4] This works for me:

Add the GitHub key to the list of authorized hosts:

ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
纱线安装v1.2.1
信息找不到锁文件。
[1/4]这对我很有用:

将GitHub密钥添加到授权主机列表中:

ssh keyscan-t rsa github.com>~/.ssh/known\u主机
原始答复:


它说权限被拒绝…任何新解决方案是否可能重复?