You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v12: name the failing dependency and its parents in resolution errors (v11 pkgsStack parity) #73
pnpm v11 attaches pkgsStack to resolution errors, and the reporter prints "This error happened while installing the dependencies of @". pnpm v12 has no equivalent. A failure in a transitive dependency surfaces as Failed to resolve dependency tree: Failed to resolve dependency: <inner error>, with no alias, specifier, or parent chain (see pnpm/pnpm#16590).
The tree walker already has the data: ChildEdge::ancestor_ids and pkgs_info_from_ids in pnpm/crates/resolving-deps-resolver/src/resolve_dependency_tree/walk/. Wrap a failed edge's error with the wanted alias and bare specifier and the ancestor name@version chain, then render it the way the v11 reporter does.
Opened pnpm/pnpm#16613 to address this task. Attaches the failing dependency alias/specifier and its parent dependency chain to resolution errors, and renders that context in diagnostics.
Activity
zkochan commentedon Oct 5, 2026
Opened pnpm/pnpm#16613 to address this task. Attaches the failing dependency alias/specifier and its parent dependency chain to resolution errors, and renders that context in diagnostics.
Written by an agent (Codex, GPT-6).