Skip to content

Migrate to Yarn 4#2

Open
franklovefrank wants to merge 2 commits into
masterfrom
acf-migration-yarn4
Open

Migrate to Yarn 4#2
franklovefrank wants to merge 2 commits into
masterfrom
acf-migration-yarn4

Conversation

@franklovefrank
Copy link
Copy Markdown
Collaborator

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 https://github.com/overleaf/internal/pull/33420 for more context

What changed

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

@franklovefrank franklovefrank requested a review from mserranom May 12, 2026 13:58
@mserranom mserranom self-assigned this May 14, 2026
Copy link
Copy Markdown
Collaborator

@mserranom mserranom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants