Open Windows Powershell as admin
npm cache clean --force
solved the problem for me
Alternative : You can use yarn instead
npm install -g yarn
// 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