-
Notifications
You must be signed in to change notification settings - Fork 12k
unable to install angular-cli #2416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
@gelliott181 this wasn't always the case for Angular 2 CLI and it looks like there is only 1 dependency that is being resolved with github ( P.S. you don't need git to use npm or even Angular 2 |
There's some NPM functionality that definitely needs git, and NPM3 is a hard requirement to be able to resolve Angular 2 dependencies properly. It's true that only that only |
npm, as I understand it, has no dependencies on a VCS to use except for when trying to resolve dependencies with the I'm not sure but since npm understands git urls (as seen below) would using
|
I think it wouldn't help because the repo still needs to be cloned and whatnot. Having that dependency use a git url is a temporary solution, mind you... We did it to avoid #1560, and are just waiting for https://github.com/webpack/compression-webpack-plugin to officially release |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
3918 verbose stack Error: not found: git
3918 verbose stack at getNotFoundError (C:\JStudio\nodejs\node_modules\npm\node_modules\which\which.js:14:12)
3918 verbose stack at F (C:\JStudio\nodejs\node_modules\npm\node_modules\which\which.js:69:19)
3918 verbose stack at E (C:\JStudio\nodejs\node_modules\npm\node_modules\which\which.js:81:29)
3918 verbose stack at C:\JStudio\nodejs\node_modules\npm\node_modules\which\which.js:90:16
3918 verbose stack at C:\JStudio\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\index.js:44:5
3918 verbose stack at C:\JStudio\nodejs\node_modules\npm\node_modules\which\node_modules\isexe\windows.js:29:5
3918 verbose stack at FSReqWrap.oncomplete (fs.js:123:15)
3919 verbose cwd C:\Users\Eric
3920 error Windows_NT 10.0.10586
3921 error argv "C:\JStudio\nodejs\node.exe" "C:\JStudio\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "angular-cli@latest"
3922 error node v6.7.0
3923 error npm v3.10.3
3924 error code ENOGIT
3925 error not found: git
3926 error Failed using git.
3926 error This is most likely not a problem with npm itself.
3926 error Please check if you have git installed and in your PATH.
3927 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: