Repository navigation
aube add fails once a direct file: dependency satisfies a peer
#1773
The project depends on
The same thing happens when starting from a pnpm-written lockfile. pnpm 11.10.0 and 12.14.0 run the same add without error. PNPM_BIN=/path/to/real/pnpm ./repro.shI found this in pingdotgg/t3code, where |
Replies: 2 comments
|
Thanks for the detailed repro. The cause: on a re-resolve, aube reuses the locked Fix is in #1775. I haven't run your repro repo or pnpm against it; the PR has no resolver test yet either. AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable. |
|
Retested with
PNPM_BIN=/path/to/real/pnpm ./repro.shIt now exits 0 with native pnpm 12.14.0 as the control. Fix shipped in aube 2.8.1 via #1775. Marking your reply as the answer. |
Thanks for the detailed repro. The cause: on a re-resolve, aube reuses the locked
use-sync-external-storeentry and re-enqueued each of its locked edges as a dependency. The peer edgereact: file:deps/reactwas therefore treated as a transitive local source of a registry package, which hit the exotic-subdep block (and, with that disabled, the missing parent source root error). Peer edges that point at afile:/link:/git source are now skipped there, and the peer pass wires them from the importer as it does on a fresh install.Fix is in #1775. I haven't run your repro repo or pnpm against it; the PR has no resolver test yet either.
AI-assisted — Tool: Claude Code; model: anthropic/claude-so…