模板CLI安装打嗝

时间:2016-02-16 07:53:31

标签: bigcommerce

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

dante@Ubuntu:~$ sudo npm install -g bigcommerce-stencil/stencil-cli
[sudo] password for dante:
npm ERR! git clone git@github.com: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 git@github.com: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 git@github.com:bigcommerce-stencil/stencil-cli Permission denied (publickey).
npm ERR! git clone git@github.com:bigcommerce-stencil/stencil-cli fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:bigcommerce-stencil/stencil-cli
npm ERR! git clone git@github.com:bigcommerce-stencil/stencil-cli Please make sure you have the correct access rights
npm ERR! git clone git@github.com: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! npm-@googlegroups.com

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也安装在我的机器上,因为它与节点安装捆绑在一起。我觉得好像这是我很容易忽视的东西。

1 个答案:

答案 0 :(得分:0)

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