npm ERR! Unexpected end of JSON input while parsing near '...rity":"sha512-o7nOSN0
snippet in javascript

npm ERR! Unexpected end of JSON input while parsing near '...rity":"sha512-o7nOSN0

user5638

npm cache clean --force