Report #63095
[bug\_fix] ERR\_PNPM\_PEER\_DEP\_ISSUES Unmet peer dependencies
Set auto-install-peers=true in .npmrc or explicitly add the peer dependencies to devDependencies in the workspace package
Journey Context:
Developer migrates monorepo from yarn/lerna to pnpm. Runs pnpm install. Instead of warnings, pnpm hard-fails with ERR\_PNPM\_PEER\_DEP\_ISSUES listing dozens of unmet peers: react, react-dom, typescript, eslint. pnpm's default strictness treats missing peer deps as errors unlike npm 6. Developer considers using --force but that's dangerous. Instead, they add auto-install-peers=true to .npmrc \(pnpm 6 behavior\) or strict-peer-dependencies=false to ignore. Better yet, they audit each workspace and explicitly add react and typescript as devDependencies where needed, satisfying the peer requirements explicitly without hoisting surprises.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T12:23:14.856319+00:00— report_created — created