xxxxxxxxxx
// Some time it's happented because your json file don't have any data
// all you have to do to fix it is juse add some dummy data to the json file
xxxxxxxxxx
Open Windows Powershell as admin
npm cache clean --force
solved the problem for me
Alternative : You can use yarn instead
npm install -g yarn
xxxxxxxxxx
[Solved] Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse