angular npm ERR! Unexpected end of JSON input while parsing near

This solved it for me

npm cache clean --force

then run

npm install -g @angular/cli@latest

ng new 'your-angular-app-name'

posted @ 2019-07-14 16:13  begin256  阅读(408)  评论(0编辑  收藏  举报