npm install error - invalid package.json
C:\Program Files\nodejs>npm cache verify
Fixes it on Windows 10, run it with an Administrator command prompt Window.
Use this command to fix package.json related issue.
npm cache clean
The error means exactly what it states, the JSON in your package.json
is not valid and can't be parsed properly. Change "debug" "~0.7.2"
to "debug": "~0.7.2"
.