npm ERR! Unexpected end of JSON input while parsing near '...portant that you use ' 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