纱线添加结果命令失败

时间:2018-07-11 10:12:28

标签: git bitbucket

我正在尝试安装google cloud print

yarn add cloud-print

但我收到此消息:

[1/4]   Resolving packages...
error An unexpected error occurred: "Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/postmen/google-api-nodejs-client.git
Directory: /Users/sahandzarrinkoub/Documents/Programming/sentify/repo/sentify-ab/firebase/app
Output:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.".
    info If you think this is a bug, please open a bug report with the information provided in "/Users/sahandzarrinkoub/Documents/Programming/sentify/repo/sentify-ab/firebase/app/yarn-error.log".
    info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

这是什么意思?我没有回购的写权限?是的,但是我只是用git branch sahand; git checkout sahand创建了自己的分支。为什么我不能写自己的分支?

编辑:我向自己授予了该存储库的写权限,但仍然收到相同的消息。

0 个答案:

没有答案