pnpm 7 requires Node ≥ 14.6.0; Node.js 22 satisfies this. However, pnpm 7 is unmaintained — no security patches or bug fixes. pnpm 7 uses lockfileVersion 5.4. Upgrade to pnpm 9 with `npm install -g pnpm@9`; after upgrading, delete pnpm-lock.yaml and run `pnpm install` to regenerate in the new lockfile format.