Skip to content
Discussion options

You must be logged in to vote

Confirmed and fixed in #1287.

The resolver retained both camelcase versions; the churn happened when the npm writer rebuilt the physical hoist/nest layout from the flat graph. Its BFS encountered jest-validate -> camelcase@6.3.0 first and replaced npm’s existing top-level camelcase@5.3.1 choice.

The fix seeds the writer with still-reachable top-level placements from the existing npm lockfile, while pruning a preference after its last dependency edge disappears. I verified both the supplied npm-lock-add-reresolve/repro.sh and aube install --fix-lockfile against the rebuilt CLI.

Thanks for the precise reproduction.

AI-assisted — Tool: Codex; model: openai/gpt-5; version: unavailable.

Replies: 2 comments

Comment options

jdx
Aug 13, 2026 — with coder-jdx
Maintainer

You must be logged in to vote
0 replies
Answer selected by mwolson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants