Reputation: 23
I have tried to include the mongoose dependency in order to do that I have to tried to install the mongoose in my nodejs project. It failed with the following error message:
"npm ERR! Unexpected end of JSON input while parsing near
'....0","standard-version'"
Upvotes: 1
Views: 321
Reputation: 36
Try npm cache clean --force and than try npm install mongoose --save
This cleans the cache so you will lose your cache memory. But some times the cache memory causes the problem so this might help.
Upvotes: 2