forked fromjfromaniello/npm-install-retry
- Notifications
You must be signed in to change notification settings - Fork4
artemv/yarn-retry
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Command line utility that retriesyarn
command when it fails withunexpected end of file
error.
This happens quite often for private NPM modules, seeyarnpkg/yarn#7521,yarnpkg/yarn#2738
yarn global add yarn-retry
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
Based on battle-testednpm-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
Watchers
Forks
Packages0
No packages published
Languages
- JavaScript100.0%