npm ERR! Unexpected end of JSON input while parsing near '...um":"c94f7dbf0b68eaad' code example
Example 1: Unexpected end of JSON input while parsing near '...fcd15e632426a1be","ta'
npm cache clean --force
Example 2: Unexpected 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 yarn