Please, upgrade your dependencies to the actual version of core-js@3. npm ERR! Unexpected end of JSON input while parsing near '...de":"^8.10.0 || ^10.1' code example
Example 1: npm ERR! Unexpected end of JSON input while parsing near '...ty":"sha512-2GTXt3b2Q'
npm cache clean --force
Example 2: npm ERR! Unexpected end of JSON input while parsing near '...r\nComment: https://o'
npm cache clean --force
npm install -g @angular/cli