安装 Angular Cli 时出现问题

Issue while installing Angular Cli

C:\Users\Tauseef\Desktop>npm install -g @angular/cli@latest
npm ERR! Unexpected end of JSON input while parsing near '...lr8Pw+hghLU8LySls45dS'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Tauseef\AppData\Roaming\npm-cache\_logs19-08-10T18_54_50_700Z-debug.log

That are happening while i am installing an Angular Cli....

尝试清除 npm 缓存。应该可以正常工作

npm cache clean --force