Unexpected end of JSON input while parsing near '...grunt-tasks":"latest", code example
Example 1: npm ERR! Unexpected end of JSON input while parsing near '...r\nComment: https://o'
npm cache clean --force
npm install -g @angular/cli
Example 2: Unexpected end of JSON input while parsing near '...fcd15e632426a1be","ta'
npm cache clean --force