{"data":{"id":"632a15ed-2394-40c4-9e6b-bb2831bbeabe","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":"d2e3aae3-696f-41f0-8ef4-5dc3f7d8cf77","duplicate_of":null,"canonical_url":null,"source_url":null,"extra":{},"created_at":"2026-06-16T08:39:10.620Z","updated_at":"2026-06-16T08:39:10.620Z","tools":[{"slug":"pnpm","name":"pnpm"}],"solutions":[{"id":"19499887-a9eb-449d-a23e-502e6f248a12","issue_id":"632a15ed-2394-40c4-9e6b-bb2831bbeabe","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-16T08:39:10.942Z","updated_at":"2026-06-16T08:39:10.942Z"}]}}