安装Angular Cli时出现问题

时间:2019-08-10 18:56:25

标签: angular-cli npm-install

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\_logs\2019-08-10T18_54_50_700Z-debug.log
  

这是在我安装Angular Cli时发生的。...

1 个答案:

答案 0 :(得分:0)

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

npm cache clean --force