error Unexpected end of JSON input while parsing near '...:{"@babel/core":"7.0.' verbose exit [ 1, true ] code example
Example 1: SyntaxError: Unexpected end of JSON input while parsing near '...version":"2.0.6","devD' cli
npm cache clean --force
then run npm i
Example 2: npm ERR! Unexpected end of JSON input while parsing near '...ty":"sha512-2GTXt3b2Q'
npm cache clean --force