Reputation: 13
Every time I try to install a package I get the error message shown below.
I have tried everything, please help me.
npm ERR! Response timeout while trying to fetch https://registry.npmjs.org/base-config-process (over 30000ms)
Upvotes: 1
Views: 495
Reputation: 49
Try using timeout flag. I had the same error when I tried to install cordova because a bad internet connection. Then I did this:
npm i -g --timeout=120000 cordova
and it worked for me, so I hope it works for you as well
Upvotes: 1