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 #7556
Comments
Try running the command as root: |
@chris1308 Thanks a lot! Worked flawlessly :) My gratitudes! |
@kkanedaa please close this issue since it's resolved. |
@yahyaKacem Sorry about that; closed :) |
I am trying to install angular-cli on linux lite. I have installed nodejs. root@LinuxLite-Notebook-PC:~# sudo npm install -g @angular/cli npm ERR! path /usr/local/bin/ng npm ERR! A complete log of this run can be found in: |
I have the same problem, did someone find the solution? |
I have the same problem |
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. |
I am trying to install angular-cli (v.1.0). I have two Mac computers, on which one device (MacBook Pro Mid-2015) the installation was successful. But on my other Mac (iMac Early-2011), I get the following error message:
`npm ERR! Darwin 16.7.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "-f" "@angular/cli"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! path ../lib/node_modules/@angular/cli/bin/ng
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall symlink
npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/@angular/cli/bin/ng' -> '/usr/local/bin/ng'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, symlink '../lib/node_modules/@angular/cli/bin/ng' -> '/usr/local/bin/ng'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '../lib/node_modules/@angular/cli/bin/ng',
npm ERR! dest: '/usr/local/bin/ng' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Kaneda/npm-debug.log
npm ERR! code 1`
I used the following command to install it (without success):
npm install -g -f @angular/cli
After it failed, I tried to clean the cache, uninstall it, and try one more time - again without success (same error message as above):
npm cache clean
npm uninstall -g @angular/cli
npm install -g @angular/cli
In the error message, it says permission denied, but I am the only user on this mac with admin privileges.
Does anyone know what is wrong and why I cannot install it?
Thanks in advance.
The text was updated successfully, but these errors were encountered: