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.
--legacy-peer-deps