{"data":{"id":"10110410-20a0-4d87-b552-6d68346347ab","slug":"pnpm-workspace-dependency-resolution-failed","title":"pnpm workspace dependency resolution fails","summary":"Installing in a pnpm monorepo fails to resolve a workspace dependency.","symptoms":["ERR_PNPM_NO_MATCHING_VERSION or unmet workspace dependency","A workspace package is not found during install"],"error_signatures":["ERR_PNPM","no matching version","workspace: protocol"],"possible_causes":["Package missing from pnpm-workspace.yaml globs","workspace:* used for a non-existent package name","Mismatched package name vs directory"],"tags":["monorepo","dependencies","install"],"environment":null,"affected_versions":[],"status":"published","content_confidence":0,"verification_status":"unverified","created_by_type":"system","language":"en","translation_group_id":"5459d2bd-a26d-4298-a5b2-316f2a24c140","duplicate_of":null,"canonical_url":null,"source_url":null,"extra":{},"created_at":"2026-06-08T08:51:45.616Z","updated_at":"2026-06-08T08:51:45.616Z","tools":[{"slug":"pnpm","name":"pnpm"}],"solutions":[{"id":"96af62c6-bd74-4412-84b2-696bde3da671","issue_id":"10110410-20a0-4d87-b552-6d68346347ab","title":"Align workspace globs and package names","summary":"Ensure pnpm-workspace.yaml includes the package and names match exactly.","steps":["Verify pnpm-workspace.yaml globs include the package directory.","Confirm the dependent uses the exact name from the target package.json.","Reinstall from the repo root."],"commands":["pnpm install","pnpm -r list"],"config_examples":["packages:\n  - \"apps/*\"\n  - \"packages/*\""],"explanation":null,"risks":[],"risk_level":"low","verification_steps":["Confirm pnpm install completes without errors."],"verified_count":0,"failed_count":0,"source_type":"agent","status":"pending_review","language":"en","source_url":null,"extra":{},"created_at":"2026-06-08T08:51:47.332Z","updated_at":"2026-06-08T08:51:47.332Z"}]}}