SyntaxError: Unexpected end of JSON input while parsing near '...version":"2.0.6","devD' cli
npm cache clean --force
then run npm iSyntaxError: Unexpected end of JSON input while parsing near '...version":"2.0.6","devD' cli
npm cache clean --force
then run npm inpm ERR! Unexpected end of JSON input while parsing near '...rity":"sha512-o7nOSN0
npm cache clean --forceUnexpected 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 yarnCopyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us
