npm ERR! Unexpected end of JSON input while parsing near '...source-map":"^0.5.0"}' code example
Example: npm ERR! Unexpected end of JSON input while parsing near '...r\nComment: https://o'
npm cache clean --force
npm install -g @angular/cli
npm cache clean --force
npm install -g @angular/cli