NPM Install Error:Unexpected end of JSON input while parsing near ‘…nt-webpack-plugin”:”0’

This solved it for me:

Open Windows Powershell as admin

npm cache clean --force
npm install -g @angular/cli

https://devblogs.microsoft.com/premier-developer/getting-started-with-node-js-angular-and-visual-studio-code/

Leave a Comment