npm install cnpm failed

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

Solution:

    

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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324532463&siteId=291194637
Recommended