✓ Works

Node.js 22 + npm 8: Compatible but Outdated

Node.js 22 + npm 8

npm 8 requires Node ≥ 12.13.0; Node.js 22 satisfies this. npm 8 uses lockfileVersion 2 (readable by npm 7 and 8). Strict peer dependency enforcement from npm 7 still applies. npm 8 is significantly behind the current release — upgrade with `npm install -g npm@10` to get security fixes and performance improvements.

Workarounds & Fixes

Related Error Pages

Related Combinations

Node.js 22 + npm 10 ✓ Works Node.js 16 + npm 8 ✓ Works Node.js 22 + npm 9 ✓ Works Node.js 20 + npm 8 ✓ Works
Last verified: 2024-10-01  ·  Category: Node.js + npm