Unexpected end of JSON input while parsing near '...GP SIGNATURE-----\r\n' 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: npm ERR! Unexpected end of JSON input while parsing near '...rity":"sha512-o7nOSN0
npm cache clean --force