欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

npm install cnpm失败

程序员文章站 2022-05-30 15:12:20
...

出现错误:npm ERR! Unexpected end of JSON input while parsing near '...nt-webpack-plugin":"0'

解决方法:

    

Npm uses Cache for downloading new packages for you. You need to clear your npm cache. use following command to clean :

npm cache clean --force

then normally use your npm install command e.g.

npm install -g @angular/cli