how to resolve unexpected json while running npm install

  1. We can resolve this npm cache clean –force. If you are a windows user, try deleting all files in this folder:
  2. C:Users{{your-username}}AppDataRoamingnpm-cache. Then…
  3. npm cache verify. If that doesn’t work, try updating to the lastest (understand the risks)
  4. npm i npm@latest -g

These commands will helps to resolve issue

Leave a comment

Your email address will not be published. Required fields are marked *