2014-09-24 80 views
0

我按照此處列出的步驟http://sdk.gooddata.com/gooddata-js/getting-started/開始設置本地開發環境。但是,運行npm install命令時遇到了此錯誤。看起來我沒有權限複製克隆。GoodData Visualization SDK初始設置

下面是有關該錯誤更詳細地:

new-host-2:gooddata-js zohebmunshi$ sudo npm install 
Password: 
Sorry, try again. 
Password: 
npm WARN package.json [email protected] 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 [email protected]:gooddata/grunt-grizzly Cloning into bare repository '/Users/zohebmunshi/.npm/_git-remotes/git-github-com-gooddata-grunt-grizzly-41562694'... 
npm ERR! git clone [email protected]:gooddata/grunt-grizzly Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of known hosts. 
npm ERR! git clone [email protected]:gooddata/grunt-grizzly Permission denied (publickey). 
npm ERR! git clone [email protected]:gooddata/grunt-grizzly fatal: Could not read from remote repository. 
npm ERR! git clone [email protected]:gooddata/grunt-grizzly 
npm ERR! git clone [email protected]:gooddata/grunt-grizzly Please make sure you have the correct access rights 
npm ERR! git clone [email protected]: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 

回答

0

我發現此解決方案:它需要從命令行執行。

根@ EDOS-DP-DEV-20 /無功/網絡/ phabricator#./bin/repository拉中號 拉 'M' ...
輸入鍵「/ tmp目錄/ b40shoorty8kw4os /密碼短語密碼ssh-key': @的密碼: 完成。

根@ EDOS-DP-DEV-20 /無功/網絡/ phabricator#

注:其中M是倉庫的呼號

其他信息在這裏:https://secure.phabricator.com/T4620