I got these errors when I run the command npm install -g @angular/cli@latest
. What should be done to rectify these errors?
Asked
Active
Viewed 52 times
0

lazzy_ms
- 1,169
- 2
- 18
- 40

Shifas Hassan
- 3
- 6
-
Update node/npm and run the same command again. – MadaZZ Jul 24 '18 at 06:15
-
what is the command to update npm?? – Shifas Hassan Jul 24 '18 at 06:17
-
`npm update -g npm` this probably has to be run as root/administrator. – GxTruth Jul 24 '18 at 06:20
-
Reference [Link](https://stackoverflow.com/questions/6237295/how-can-i-update-node-js-and-npm-to-the-next-versions) – MadaZZ Jul 24 '18 at 06:20