You are trying to create a new angular, react, Vue app, and you end up with an error message saying:

npm ERR! Unexpected end of JSON input while parsing near


Alt Text

There's a high chance that your npm cache has been damaged.


npm cache clean --force

If you are a windows user, try deleting all files in this folder:



npm cache verify

If that doesn't work, try updating to the lastest (understand the risks)

npm i npm@latest -g

I hope this helps!