✓ Works

Node.js 20 + Yarn 3 (Berry): Fully Compatible

Node.js 20 + Yarn 3 (Berry)

Yarn 3 requires Node ≥ 12.13.0; Node.js 20 satisfies this. Yarn 3 ships with workspace protocol (`workspace:*` ranges), patch protocol for in-place patching, and PnP mode. Use Corepack (`corepack enable`) to manage Yarn version per project without a global install. Yarn 4 is the current stable — upgrade with `yarn set version stable`.

Workarounds & Fixes

Related Error Pages

Related Combinations

Node.js 20 + Yarn 4 ✓ Works Node.js 20 + Yarn 1 (Classic) ✓ Works Node.js 22 + Yarn 3 (Berry) ✓ Works Node.js 12 + Yarn 3 (Berry) ⚠ Partial
Last verified: 2024-06-01  ·  Category: Node.js + Yarn