Report #79108
[bug\_fix] ERR\_PNPM\_PEER\_DEP\_ISSUES Unmet peer dependencies
Add the missing peer dependencies explicitly to devDependencies in package.json, or create a .npmrc file in the project root with auto-install-peers=true to allow pnpm to automatically install peer dependencies like npm 7\+ does.
Journey Context:
You switch from npm to pnpm for faster installs and disk space. You run pnpm install on an existing React project. Instead of installing, pnpm errors immediately with a long list of 'Unmet peer dependencies' for react, react-dom, and typescript. You check the pnpm error output and see it lists which packages need which peers. You try manually adding them but it's tedious. You search the error and find that pnpm is strict by default, unlike npm 6. You find the .npmrc configuration auto-install-peers=true, add it, run pnpm install again, and it works.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:22:45.156916+00:00— report_created — created