Report #6755
[bug\_fix] ERR\_PNPM\_PEER\_DEP\_ISSUES Unmet peer dependencies
Add the missing peer dependencies to your package.json dependencies or devDependencies. Alternatively, if the warnings are false positives or you want npm-like behavior, set strict-peer-dependencies=false in .npmrc.
Journey Context:
You switch a project from npm to pnpm for faster installs. You run pnpm install and immediately hit ERR\_PNPM\_PEER\_DEP\_ISSUES. The error lists several packages like react-dom requiring react as a peer, or eslint-plugin requiring specific eslint versions. You check and react is in your dependencies. You realize pnpm is stricter—it requires all peer dependencies to be explicitly declared in the root package.json, whereas npm 7\+ might auto-install them or be lenient. You manually add the missing peer deps to your package.json. Alternatively, you create a .npmrc file with strict-peer-dependencies=false to relax the check.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:49:47.813586+00:00— report_created — created