Yarn 4 requires Node.js ≥ 18.12.0 (from the Berry package.json engines field). Node.js 14 (EOL April 2023) does not satisfy this. Running `yarn` on Node.js 14 with a Yarn 4 project produces an engines check failure. Upgrade to Node.js 20 or 22 to use Yarn 4.
Minimum version required: Node.js 18.12.0
Workarounds & Fixes
Upgrade Node.js to 20 or 22, then `corepack enable` to activate Yarn 4