Error installing angular/cli both locally and globallly

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\BENJAMIN\AppData\Roaming\npm-cache_logs\2019-10-20T03_07_24_885Z-debug.log

the above path doesn’t exist on my sytem.

please how do i fix this error. many thanks!

Hi Benjamin,
I don’t know, but I tried it on my PC and it worked OK.
Firstly, what version of Windows and npm are you running? I’m on Windows 10 Pro and npm -v gives me 6.4.1
Secondly, AppData is a hidden folder. Also, the path looks incorrect. On my system I have C:\Users\Dave\AppData\Roaming\npm-cache_logs, note the \ between npm-cache and _logs.
Hope this is some help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.