Unexpected end of JSON input while parsing near '...runt-tasks":"latest", 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