node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


Build Status

Build status

Command line utility that retries npm install when NPM fails with npm ERR! cb() never called or npm ERR! errno ECONNRESET.

This happens sporadically and has been reported many times:

and still fails.


npm install -g  npm-install-retry


From command-line:

npm-install-retry --wait 500 --attempts 10 -- --production

It has two options wait (defaults to 500) and attempts (default to 10). Everything after -- goes directly to npm.


MIT 2013 - José F. Romaniello