【发布时间】:2017-10-24 05:08:45
【问题描述】:
我正在使用 yarn,但它对私有 git 存储库给出了以下错误。 npm 成功安装了这个 repo。
yarn install v1.2.1
info No lockfile found.
[1/4] ???? Resolving packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/test/testconfigs.git
Directory: /Users/admin/Projects/Demo/myProject
Output:
Permission denied (publickey).
fatal: Could not read from remote repository.
【问题讨论】:
-
它说 Permission denied...
-
有什么新的解决方案吗?