-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Cannot install angular-cli (yes, I'm using npm v3) #2311
Comments
It's an npm problem. If you download the current LTS version of node, it gives you the above versions. npm v3.10.8 has this bug, npm/npm#13946 So my problem was this:
My workaround was this:
Will leave this open while I see whether this is a complete fix, but thought I'd post this now, in case it helps someone else. |
I needed to uninstall and then reinstall angular-cli, but otherwise, this is now working for me. |
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. |
OSX El Capitan
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:Cannot install ng, so I cannot give you the version.
$ node -v
v4.5.0
$ npm -v
3.10.8
do on your code? etc.
Starting from scratch. Clean install of node/npm. followed by a npm install --upgrade
Now trying "sudo npm install -g angular-cli"
more information.
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "angular-cli"
npm ERR! node v4.5.0
npm ERR! npm v3.10.8
npm ERR! uid must be an unsigned int
The text was updated successfully, but these errors were encountered: