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'

猜你喜欢

转载自www.cnblogs.com/begin256/p/11184563.html