Report #10976
[bug\_fix] ERR\_PNPM\_PEER\_DEP\_ISSUES; Unmet peer dependencies; Issues with peer dependencies found
Add missing peer deps explicitly to package.json devDependencies, or use pnpm.peerDependencyRules to ignore/auto-install specific peers, or set strict-peer-dependencies=false in .npmrc
Journey Context:
Developer switches from npm to pnpm for performance. Running pnpm install on an existing project fails with ERR\_PNPM\_PEER\_DEP\_ISSUES, listing many "Unmet peer dependencies" that npm had silently ignored. They realize pnpm is strict about peer dependencies by default \(unlike npm 6\). The error shows that package X requires React ^16.8.0 but the project has React 17. They try using --force but that defeats pnpm's purpose. The correct fix: explicitly add the peer dependencies to devDependencies if they're meant to be provided by the host, or use .npmrc strict-peer-dependencies=false to downgrade to warnings. Alternatively, use package.json pnpm.peerDependencyRules.ignoreMissing to whitelist specific ranges. This fixes it because pnpm's strictness requires explicit resolution of the dependency graph that npm left implicit.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T12:12:49.702577+00:00— report_created — created