Appeared when installing the package:
npm ERR! Unexpected end of JSON input while parsing near '...","karma-mocha-report'
The solution used is
npm cache clean --force
Appeared when installing the package:
npm ERR! Unexpected end of JSON input while parsing near '...","karma-mocha-report'
The solution used is
npm cache clean --force