⚠ Partial

Node.js 14 + npm 7: Runs but Strict Peer Deps Break Many Projects

Node.js 14 + npm 7

npm 7 requires Node ≥ 10.13.0; Node 14 satisfies this. However, npm 7 switched to strict peer dependency resolution by default, breaking many projects that had unresolved peer conflicts silently tolerated by npm 6. Both Node.js 14 (EOL April 2023) and npm 7 are outdated.

Required Flags / Config

--legacy-peer-deps

Workarounds & Fixes

Related Error Pages

Related Combinations

Node.js 22 + npm 10 ✓ Works Node.js 20 + npm 10 ✓ Works Node.js 20 + npm 9 ✓ Works Node.js 18 + npm 10 ⚠ Partial
Last verified: 2024-06-01  ·  Category: Node.js + npm