Report #97147
[bug\_fix] ERR\_PNPM\_PEER\_DEP\_ISSUES peer dependencies are not met
Add the missing peer dependency explicitly to your project dependencies, or use \`.pnpmfile.cjs\` to override the peer range if the declared range is wrong. In pnpm workspaces, hoist the peer to the root \`package.json\`. Avoid \`--shamefully-hoist\` just to silence the warning; it masks real version conflicts.
Journey Context:
After switching a project from npm to pnpm, install fails with a peer-dependency issue even though npm installed fine. pnpm is stricter than npm and does not auto-install peers, nor does it silently flatten the tree. The error lists exactly which package expects which peer and which version is missing. You add that peer to your \`dependencies\` or \`devDependencies\`, or use a pnpm override in \`.pnpmfile.cjs\` when the upstream range is overly restrictive. Once the peer is satisfied at the top level, pnpm creates the correct symlinked virtual store graph and the warning disappears.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-25T04:37:34.551423+00:00— report_created — created