How to solve “Unexpected end of JSON input while parsing near ‘…6ecd3b626f9c1f57494ed’ “

While installing node packages we sometime encounter following error:-

HOW TO SOLVE "UNEXPECTED END OF JSON INPUT WHILE PARSING NEAR '...6ECD3B626F9C1F57494ED' " 
fig: UNEXPECTED END OF JSON INPUT WHILE PARSING NEAR ‘…6ECD3B626F9C1F57494ED’

To solve this error run following command:

npm cache clean --force

This command will clean any cache created when process of installing package with node got failed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s