GoodData:JavaScript SDK设置 - 回购克隆错误 [英] GoodData: JavaScript SDK setup - repo cloning error

查看:112
本文介绍了GoodData:JavaScript SDK设置 - 回购克隆错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试按照GoodDataJS的入门进行操作: http:// sdk.gooddata.com/gooddata-js/getting-started/



尝试克隆repo时,会失败,并显示错误消息:



克隆到'gooddata-js'...
权限被拒绝(publickey)。
致命:无法从远程存储库读取数据。

请确保您拥有正确的访问权限
并存在该存储库。 p>如果您从未在您的帐户中注册过公钥/私钥ssh密钥,会发生这种情况。

请参阅 GitHub - 权限(publickey)错误:权限被拒绝(publickey)



在这种情况下,正如评论所言,只有https可以工作。

  git clone https://github.com/gooddata/gooddata-js.git 

ssh和https协议允许用户进行身份验证。



支持真正的匿名克隆 (如

  git clone git:/ stackoverflow.com/q/16187849/6309>在这个答案中): /github.com/gooddata/gooddata-js.git 

但是,假设您的工作站允许端口9418(用于传出连接。


Trying to follow the 'Getting Started' for the GoodDataJS here: http://sdk.gooddata.com/gooddata-js/getting-started/

When trying to clone repo it fails with the error:

"Cloning into 'gooddata-js'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists."

解决方案

That happens if you never registered a public/private ssh key to your account.
See "GitHub - Permission denied (publickey)" and "Error: Permission denied (publickey)".

In that case, as commented, only https would work.

git clone https://github.com/gooddata/gooddata-js.git

ssh and https protocols allows for user authentication.

True anonymous cloning could be supported (as in this answer) with:

git clone git://github.com/gooddata/gooddata-js.git

But that supposed your workstation allows port 9418 (used by git protocol) for outgoing connection.

这篇关于GoodData:JavaScript SDK设置 - 回购克隆错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆