Unexpected end of JSON input while parsing near '...hasum":"f3cdfcbb7537b' npm update code example
Example: npm ERR! Unexpected end of JSON input while parsing near '...ty":"sha512-2GTXt3b2Q'
npm cache clean --force
npm cache clean --force