我尝试在ng2-application中安装angular / http以使用REST。
> npm install @angular/http
npm ERR! git clone git@github.com:angular/http Klone in Bare-Repository '/root/.npm/_git-remotes/git-github-com-angular-http-d5a38677' ...
npm ERR! git clone git@github.com:angular/http Permission denied (publickey).
....
问题是什么?我确信这是一个菜鸟问题,但我不知道如何解决它。
我的包裹:
npm version
{http_parser: '2.7.0',
node: '4.8.2',
v8: '4.5.103.46',
uv: '1.9.1',
zlib: '1.2.8',
ares: '1.10.1-DEV',
icu: '57.1',
modules: '46',
openssl: '1.0.2k',
npm: '1.4.21' }