Yamlak Kassahun
Yamlak Kassahun

Reputation: 23

i am trying to install mongoose to my nodejs project but fail

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

Answers (1)

Lokesh
Lokesh

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

Related Questions