Have ideas to improve npm?Join in the discussion! »

yarn-retry

1.0.0 • Public • Published

Build Status

Command line utility that retries yarn when NPM fails with unexpected end of file error.

This happens quite often for private NPM modules, see https://github.com/yarnpkg/yarn/issues/7521

Installation

npm install -g yarn-retry

Usage

From command-line:

yarn-retry --wait 500 --attempts 10 -- --frozen-lockfile

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

Other

Based on npm-install-retry utility by José F. Romaniello.

Keywords

none

Install

npm i [email protected]

Version

1.0.0

License

none

Unpacked Size

32.5 kB

Total Files

11

Last publish

Collaborators

  • avatar