Report #65440
[bug\_fix] ERR\_PNPM\_PEER\_DEP\_ISSUES: Unmet peer dependencies found in project
Install the missing peer dependencies explicitly in your package.json devDependencies. Or create .npmrc with strict-peer-dependencies=false to allow installation despite unmet peers. Or use pnpm.peerDependencyRules.ignoreMissing to whitelist specific unmet peers.
Journey Context:
You migrate a project from npm to pnpm for faster installs. You run pnpm install and it errors immediately with ERR\_PNPM\_PEER\_DEP\_ISSUES, listing several unmet peer dependencies like react, eslint-plugin-import, etc. You check and see these are transitive peer deps that npm used to auto-install or ignore. You read the pnpm documentation and learn that pnpm 7\+ defaults to strict-peer-dependencies=true, enforcing that all peer dependencies must be explicitly satisfied. You have three options: manually add each peer dep to your package.json \(correct but tedious\), set strict-peer-dependencies=false in .npmrc \(fastest migration\), or use the selective ignoreMissing config. You choose to set strict-peer-dependencies=false temporarily while you properly declare the peer deps.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:19:18.702997+00:00— report_created — created