GoodData可视化SDK初始设置



我遵循了此处列出的步骤http://sdk.gooddata.com/gooddata-js/getting-started/开始设置本地开发环境。但是,我在运行npm install命令时遇到了这个错误。看起来我没有复制克隆的权限。

以下是有关错误的更多详细信息:

new-host-2:gooddata-js zohebmunshi$ sudo npm install
Password:
Sorry, try again.
Password:
npm WARN package.json gooddata@0.0.13 No repository field.
The authenticity of host 'github.com (192.30.252.129)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
-|e you sure you want to continue connecting (yes/no)? 
-/ease type 'yes' or 'no': 
npm ERR! git clone git@github.com:gooddata/grunt-grizzly Cloning into bare repository '/Users/zohebmunshi/.npm/_git-remotes/git-github-com-gooddata-grunt-grizzly-41562694'...
npm ERR! git clone git@github.com:gooddata/grunt-grizzly Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of known hosts.
npm ERR! git clone git@github.com:gooddata/grunt-grizzly Permission denied (publickey).
npm ERR! git clone git@github.com:gooddata/grunt-grizzly fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:gooddata/grunt-grizzly 
npm ERR! git clone git@github.com:gooddata/grunt-grizzly Please make sure you have the correct access rights
npm ERR! git clone git@github.com:gooddata/grunt-grizzly and the repository exists.
npm ERR! Error: Command failed: Cloning into bare repository '/Users/zohebmunshi/.npm/_git-remotes/git-github-com-gooddata-grunt-grizzly-41562694'...
npm ERR! Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of known hosts.
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR! 
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! 
npm ERR!     at ChildProcess.exithandler (child_process.js:648:15)
npm ERR!     at ChildProcess.emit (events.js:98:17)
npm ERR!     at maybeClose (child_process.js:756:16)
npm ERR!     at Process.ChildProcess._handle.onexit (child_process.js:823:5)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/zohebmunshi/gooddata-js
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code 128
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/zohebmunshi/gooddata-js/npm-debug.log
npm ERR! not ok code 0

我找到了这个解决方案:它需要从命令行执行。

root@edos-dp-dev-20/var/www/phabricator#/bin/存储库pull M正在拉"M"
输入密钥"/tmp/b40shoorty8kw4os/passphrase-ssh密钥"的密码:@的密码:完成

root@edos-dp-dev-20/var/www/phabricator#

注:其中M是存储库的呼叫号

其他信息如下:https://secure.phabricator.com/T4620

最新更新