2016-02-16 73 views
0

尝试在运行Ubuntu 14.04的计算机上安装模板CLI时发生小呃逆。我将附上以下错误的内容。在这一点上,我已经能够验证npm和节点是否安装正确,并且通过确认我访问https://github.com/bigcommerce-stencil/stencil-cli的能力,我能够验证我是否拥有正确的GitHub权限。任何洞察力将不胜感激。模板CLI安装打嗝

[email protected]:~$ sudo npm install -g bigcommerce-stencil/stencil-cli 
[sudo] password for dante: 
npm ERR! git clone [email protected]:bigcommerce-stencil/stencil-cli Cloning into bare repository '/home/dante/.npm/_git-remotes/git-github-com-bigcommerce-stencil-stencil-cli-12bc62b4'... 
npm ERR! git clone [email protected]:bigcommerce-stencil/stencil-cli Warning: Permanently added the RSA host key for IP address '192.30.252.130' to the list of known hosts. 
npm ERR! git clone [email protected]:bigcommerce-stencil/stencil-cli Permission denied (publickey). 
npm ERR! git clone [email protected]:bigcommerce-stencil/stencil-cli fatal: Could not read from remote repository. 
npm ERR! git clone [email protected]:bigcommerce-stencil/stencil-cli 
npm ERR! git clone [email protected]:bigcommerce-stencil/stencil-cli Please make sure you have the correct access rights 
npm ERR! git clone [email protected]:bigcommerce-stencil/stencil-cli and the repository exists. 
npm ERR! addLocal Could not install bigcommerce-stencil/stencil-cli 
npm ERR! Error: ENOENT, stat 'bigcommerce-stencil/stencil-cli' 
npm ERR! If you need help, you may report this log at: 
npm ERR! http://github.com/isaacs/npm/issues 
npm ERR! or email it to: 
npm ERR! [email protected] 

npm ERR! System Linux 3.16.0-57-generic 
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "bigcommerce-stencil/stencil-cli" 
npm ERR! cwd /home/dante 
npm ERR! node -v v0.10.25 
npm ERR! npm -v 1.3.10 
npm ERR! path bigcommerce-stencil/stencil-cli 
npm ERR! code ENOENT 
npm ERR! errno 34 
npm ERR! 
npm ERR! Additional logging details can be found in: 
npm ERR! /home/dante/npm-debug.log 
npm ERR! not ok code 0 

我也想补充一点,我验证过NPM也是我的机器上安装,因为它是捆绑瓦特/节点安装。我觉得这是我很容易忽略的东西。

回答

0

这是由于封闭的源代码。您需要通过早期访问开发流程并添加您的SSH密钥等。应该解决它。