Description
I tried "npm install -g angular-cli" -with administator rights- and I got the following error:
33 error Windows_NT 10.0.10586
34 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "angular-cli"
35 error node v6.2.0
36 error npm v3.8.9
37 error path C:\Users\Marcos\AppData\Roaming\npm\node_modules\angular-cli
38 error code ENOENT
39 error errno -4058
40 error syscall realpath
41 error enoent ENOENT: no such file or directory, realpath 'C:\Users\Marcos\AppData\Roaming\npm\node_modules\angular-cli'
42 error enoent ENOENT: no such file or directory, realpath 'C:\Users\Marcos\AppData\Roaming\npm\node_modules\angular-cli'
42 error enoent This is most likely not a problem with npm itself
42 error enoent and is related to npm not being able to find a file.
43 verbose exit [ -4058, true ]
I even unistall node 5.x an reinstalled node 6.2,, with the same error