Skip to content

Migrate to yarn 4#12

Open
franklovefrank wants to merge 3 commits into
master-overleaffrom
acf-add-yarn-to-package-manager
Open

Migrate to yarn 4#12
franklovefrank wants to merge 3 commits into
master-overleaffrom
acf-add-yarn-to-package-manager

Conversation

@franklovefrank
Copy link
Copy Markdown

Why

Dependabot's corepack yarn install --mode=skip-build was failing with RequestError: getaddrinfo EAI_AGAIN classic.yarnpkg.com because four git-hosted fork dependencies have Yarn Classic yarn.lock files — when Yarn 4 repacks them in a clean clone (no .yarn/cache), it detects the missing __metadata key and tries to bootstrap Yarn Classic by downloading https://classic.yarnpkg.com/latest.js, which times out in the restricted network.

See #33420 for more context

What changed

This PR adds "packageManager": "yarn@4.x" to each fork and regenerates the yarn.lock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant