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.