npm ERR! Unexpected end of JSON input while parsing near '...2.10","karma-sourcema'. 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
npm cache clean --force
then run npm i