Comments (14)
Why does a simple tool like this need a ssh key? I think the angular-cli should make the setup process easier instead more complicated?
from angular-cli.
Do you have your SSH keys set up properly? Looks like perhaps the keys in /home/Hans/.ssh are invalid. Can you check the permissions on that directory and try to clone any repo from github using ssh instead of http?
from angular-cli.
Also you should upgrade your node version to latest (or anything over 4.1.0). Some dependencies of this project require it.
from angular-cli.
I have updated to node 4.2.1 now!
when try to install angular-cli: still same error! -> i do have a .ssh -> see below:
C:\Users\Hans>dir .ssh
Volume in drive C is Windows
Volume Serial Number is AEB8-B189
Directory of C:\Users\Hans.ssh
20.07.2015 18:22
.20.07.2015 18:22 ..
07.01.2014 17:35 1 675 github_rsa
07.01.2014 17:35 394 github_rsa.pub
18.12.2014 12:50 1 671 github_ssh
18.12.2014 12:50 411 github_ssh.pub
20.07.2015 18:22 1 675 id_boot2docker
20.07.2015 18:22 394 id_boot2docker.pub
11.02.2014 18:12 1 675 id_rsa2
11.02.2014 18:12 394 id_rsa2.pub
18.12.2014 13:15 2 394 known_hosts
9 File(s) 10 683 bytes
2 Dir(s) 15 312 261 120 bytes free
from angular-cli.
git clone with ssh: what do i have to do? (thank's for your support!)
C:\Users\Hans\web\bootcamps\udacity\front-end-2015-10>git clone ssh://github.com/HansS/about-me.git about-me-ssh
Cloning into 'about-me-ssh'...
Could not create directory '/home/Hans/.ssh'.
The authenticity of host 'github.com (192.30.252.128)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/Hans/.ssh/known_hosts).
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
from angular-cli.
Have you generated an ssh key and added it to your github profile? There are steps here: https://help.github.com/articles/generating-ssh-keys/#platform-windows
from angular-cli.
I'm also having a problem when installing on windows.
I'm running node -v 4.1.2
λ npm install -g angular-cli
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-60fdf976 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-dc3ae07cc822\ae5e72614e40f5e6dd57463e526c65da899fde07: Cloning into 'C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-dc3ae07cc822\ae5e72614e40f5e6dd57463e526c65da899fde07'...
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-60fdf976 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-dc3ae07cc822\ae5e72614e40f5e6dd57463e526c65da899fde07: done.
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-60fdf976 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-dc3ae07cc822\ae5e72614e40f5e6dd57463e526c65da899fde07: fatal: cannot create directory at 'tests/fixtures/preprocessor-tests/app-with-addon-with-preprocessors-2/node_modules/ember-cool-addon/node_modules/dummy-preprocessor': No such file or directory
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-60fdf976 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-dc3ae07cc822\ae5e72614e40f5e6dd57463e526c65da899fde07: warning: Clone succeeded, but checkout failed.
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-60fdf976 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-dc3ae07cc822\ae5e72614e40f5e6dd57463e526c65da899fde07: You can inspect what was checked out with 'git status'
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-60fdf976 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-dc3ae07cc822\ae5e72614e40f5e6dd57463e526c65da899fde07: and retry the checkout with 'git checkout -f HEAD'
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-60fdf976 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-dc3ae07cc822\ae5e72614e40f5e6dd57463e526c65da899fde07:
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-60fdf976 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-dc3ae07cc822\ae5e72614e40f5e6dd57463e526c65da899fde07:
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\https-github-com-ember-cli-ember-cli-git-eefd487f C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-ef848ee6b02f\ae5e72614e40f5e6dd57463e526c65da899fde07: Cloning into 'C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-ef848ee6b02f\ae5e72614e40f5e6dd57463e526c65da899fde07'...
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\https-github-com-ember-cli-ember-cli-git-eefd487f C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-ef848ee6b02f\ae5e72614e40f5e6dd57463e526c65da899fde07: done.
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\https-github-com-ember-cli-ember-cli-git-eefd487f C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-ef848ee6b02f\ae5e72614e40f5e6dd57463e526c65da899fde07: fatal: cannot create directory at 'tests/fixtures/preprocessor-tests/app-with-addon-with-preprocessors-2/node_modules/ember-cool-addon/node_modules/dummy-preprocessor': No such file or directory
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\https-github-com-ember-cli-ember-cli-git-eefd487f C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-ef848ee6b02f\ae5e72614e40f5e6dd57463e526c65da899fde07: warning: Clone succeeded, but checkout failed.
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\https-github-com-ember-cli-ember-cli-git-eefd487f C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-ef848ee6b02f\ae5e72614e40f5e6dd57463e526c65da899fde07: You can inspect what was checked out with 'git status'
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\https-github-com-ember-cli-ember-cli-git-eefd487f C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-ef848ee6b02f\ae5e72614e40f5e6dd57463e526c65da899fde07: and retry the checkout with 'git checkout -f HEAD'
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\https-github-com-ember-cli-ember-cli-git-eefd487f C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-ef848ee6b02f\ae5e72614e40f5e6dd57463e526c65da899fde07:
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\https-github-com-ember-cli-ember-cli-git-eefd487f C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-ef848ee6b02f\ae5e72614e40f5e6dd57463e526c65da899fde07:
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-d003f125 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07: Cloning into 'C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07'...
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-d003f125 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07: done.
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-d003f125 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07: fatal: cannot create directory at 'tests/fixtures/preprocessor-tests/app-with-addon-with-preprocessors-2/node_modules/ember-cool-addon/node_modules/dummy-preprocessor': No such file or directory
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-d003f125 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07: warning: Clone succeeded, but checkout failed.
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-d003f125 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07: You can inspect what was checked out with 'git status'
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-d003f125 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07: and retry the checkout with 'git checkout -f HEAD'
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-d003f125 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07:
npm ERR! git clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-d003f125 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07:
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "angular-cli"
npm ERR! node v4.1.2
npm ERR! npm v2.14.4
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone C:\Users\tvtemple\AppData\Roaming\npm-cache_git-remotes\git-github-com-ember-cli-ember-cli-git-d003f125 C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07
npm ERR! Cloning into 'C:\Users\tvtemple\AppData\Local\Temp\npm-5584-6e66eb8d\git-cache-2dbfe6d3093a\ae5e72614e40f5e6dd57463e526c65da899fde07'...
npm ERR! done.
npm ERR! fatal: cannot create directory at 'tests/fixtures/preprocessor-tests/app-with-addon-with-preprocessors-2/node_modules/ember-cool-addon/node_modules/dummy-preprocessor': No such file or directory
npm ERR! warning: Clone succeeded, but checkout failed.
npm ERR! You can inspect what was checked out with 'git status'
npm ERR! and retry the checkout with 'git checkout -f HEAD'
npm ERR!
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\tvtemple\npm-debug.log
from angular-cli.
My guess is that it uses github to get sources and github requires ssh keys if you don't want to fall victim to random throttling errors over https.
from angular-cli.
Ok, for me the problem was the version of git that I had installed on my machine. I had git 1.8.* now I have git 2.6 and I was able to install it.
from angular-cli.
I can confirm this. Had to update git to latest version. Does somebody knows the minimal required git version? see also #46 - its not easy to get angular-cli running on windows! 😟
from angular-cli.
I can also confirm this.
from angular-cli.
folks, please keep in mind that this is a prototype - not a production solution, so some setup issues are to be expected. In this case it seems that the git version used by npm to install some dependencies was outdated.
from angular-cli.
For future reference, you can have this error when you try install angular/cli BUT you should install @angular/cli
@angular/cli is the correct package
angular/cli is the wrong package
npm i -g @angular/cli
yarn add @angular/cli
from angular-cli.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
from angular-cli.
Related Issues (20)
- [browser-esbuild] live-reload=false workflow is less convenient now
- Excessive modulepreload Links in Angular 18.0.0-next.4 Affecting Performance Metrics HOT 5
- Bug: esbuild builder 3rd party libs built not properly with browserify paths HOT 1
- Only reload on ng serve when change in code happen HOT 3
- Ability to generate hash on every build without changing file HOT 1
- sourcemap isn't working HOT 2
- support npm version 1- HOT 1
- CSS background-image: url() not working for relative paths in Angular library project HOT 1
- [reopen] [proposal] auto polyfilling support via @babel/preset-env HOT 1
- Newly added assets are not served by the development server HOT 1
- host property of the compoments not providing typings intellisense and also class applied to it not getting processed by tailwindcss HOT 1
- Script tags are not added to the child pages when build SSR project HOT 1
- IWAs (Isolated Web Apps) integration proposal
- Styles optimization option - "removeSpecialComments" is not working HOT 5
- Failed to read Git tree: fatal: not a git repository (or any of the parent directories): .git HOT 9
- Server Actions HOT 1
- ng commands hangs on node version v20.12.2 HOT 8
- importmap with ssr HOT 1
- Vite dev server with npm workspaces not reloading on project reference update HOT 1
- angular report server dependencies as not esm HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-cli.