Skip to content
forked from artemv/yarn-retry

About

Command line utility that retries `yarn` when Yarn fails with "unexpected end of file" error

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

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

This happens quite often for private NPM modules, see yarnpkg/yarn#7521, yarnpkg/yarn#2738

Installation

yarn global add 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, so you can retry e.g. yarn add:

yarn-retry -- add --dev @myorg/my-package --ignore-engines

Other

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

About

Command line utility that retries `yarn` when Yarn fails with "unexpected end of file" error

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages