Я пытаюсь установить Angular CLI в Ubuntu 14.04 LTS, но я принимаю эту ошибку. У меня есть разные подходы к решению, но я не решил. Некоторые из них:
- Я пытался добавить github к известным хостам
- Я создал ключи RSA для github
- Удалите и установите Node.js
Каждая попытка сделать все возможное, чтобы получить доступ к github, выдает следующее сообщение: Отказано в доступе (ключ c publi)
[sudo] password for efti:
npm ERR! git clone git@github.com:angular/cli Cloning into bare repository '/home/efti/.npm/_git-remotes/git-github-com-angular-cli-515723dd'...
npm ERR! git clone git@github.com:angular/cli Permission denied (publickey).
npm ERR! git clone git@github.com:angular/cli fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:angular/cli
npm ERR! git clone git@github.com:angular/cli Please make sure you have the correct access rights
npm ERR! git clone git@github.com:angular/cli and the repository exists.
npm ERR! addLocal Could not install angular/cli
npm ERR! Error: ENOENT, stat 'angular/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.13.0-169-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "@angular/cli"
npm ERR! cwd /home/efti/.ssh
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path angular/cli
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/efti/.ssh/npm-debug.log
npm ERR! not ok code 0