{{ message }}
Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

An unavailable direct dependency can be repeatedly replaced by a valid version requested by a transitive peer. Its original edge then reinstalls the failed, versionless node, so
npm install --package-lock-onlynever reaches the load-error reporting phase.Keep an already failed target in the real tree while loading subsequent peer sets. The existing pruning phase can then report its original
ETARGET, or mark the optional peer-dependent group inert. Valid peer targets continue through the existing resolution path. This does not add an iteration limit or change dependency versions.The regression includes the transitive
react-shallow-rendererpeer from the report, with required and optional dependencies under default, strict and force modes.Validation
ETARGETin 394 ms. The mock-registry regression also timed out before the fix.ETARGETin 671 ms on Node 26.8.1 and 584 ms on Node 24.19.0. The valid-version control succeeds.npm test: all 59 test files pass with 100% statement, branch, function and line coverage, including lint and package template checks (Node 24.19.0). No upstream CI result is claimed here.ae98c62586b6fea44114f72e249e246a2981de70; no tooling changes are included.References
Fixes #10149