mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-20 20:52:33 -04:00
The fixture's lockfile was minimal — it had the pkg-a base + peer-variant entries (the shape that triggered the original `'directory' in undefined` TypeError in graph-builder) but no `peer@1.0.0` entry. That was enough before Bug 1's fix, because graph-builder crashed early. Now that the graph-builder + helper changes let the install path proceed, the next stage (`filterLockfileByImportersAndEngine`) walks the dependency graph and throws `LockfileMissingDependencyError: no entry for 'peer@1.0.0'`. Add a stub directory-resolution entry pointing at the existing `packages/peer/` workspace package so the graph walker finds it.