I already have node installed.
Everything is ok, but I don't know why I cannot install angular/cli
My commands: C:\myApp>node -v v8.11.3
C:\myApp>npm -v 5.6.0
C:\myApp>npm install -g @angular/cli npm ERR! Unexpected end of JSON input while parsing near '....1","minimatch":"^3.0'
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\HamedPC\AppData\Roaming\npm-cache_logs\2018-11-08T13_23_51_111Z-debug.log
I tried npm cache clean --force
, but still did not work.