@artemv/npm-install-retry
retry npm install when it fails
Last updated 3 years ago by artemv .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @artemv/npm-install-retry 
SYNC missed versions from official npm registry.

Build Status

Build status

Command line utility that retries npm install when NPM fails with flaky errors:

  • npm ERR! cb() never called,
  • npm ERR! errno ECONNRESET,
  • npm ERR! shasum check failed,
  • npm ERR! code EINTEGRITY

This happens sporadically and has been reported many times:

and still fails.

Installation

npm install -g  npm-install-retry

Usage

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.

License

MIT 2013 - José F. Romaniello

Current Tags

  • 1.2.2                                ...           latest (3 years ago)

4 Versions

  • 1.2.2                                ...           3 years ago
  • 1.2.2-pre.1                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 1
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |