npm ERR! JSON.parse Unexpected token } in JSON at position 842 while parsing near '...ents": "^1.2.13", code example
Example: SyntaxError: Unexpected end of JSON input while parsing near '...version":"2.0.6","devD' cli
npm cache clean --force
then run npm i