Prosper Opara
Prosper Opara

Reputation: 31

@webpack-cli/init npm install failure [webpack-cli]

I tried installing webpack && webpack-cli and the installation was successful, but i when i tried installing @webpack-cli/init i got this error message:

npm ERR! Unexpected end of JSON input while parsing near '...f7d7c27ab73cfaae06c46'

I have searched if this error exits but could not find anything. Please what am i doing wrong?

Upvotes: 0

Views: 108

Answers (2)

Dhruvdutt Jadhav
Dhruvdutt Jadhav

Reputation: 428

Works for me. Works for me. Try resetting cache or something.

Upvotes: 0

Dipin Raj C
Dipin Raj C

Reputation: 460

Just clear npm cache npm cache clean --force

that solved my problem

Upvotes: 1

Related Questions