Answers for "npm ERR! Unexpected end of JSON input while parsing near '...GNATURE-----\r\nVersi'"

11

SyntaxError: Unexpected end of JSON input while parsing near '...version":"2.0.6","devD' cli

npm cache clean --force
then run npm i
Posted by: Guest on March-22-2020
6

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

npm cache clean --force
Posted by: Guest on August-17-2020
0

Unexpected end of JSON input while parsing near

Open Windows Powershell as admin
npm cache clean --force
solved the problem for me

Alternative : You can use yarn instead
npm install -g yarn
Posted by: Guest on December-07-2020

Code answers related to "npm ERR! Unexpected end of JSON input while parsing near '...GNATURE-----\r\nVersi'"

Code answers related to "Javascript"

Browse Popular Code Answers by Language