Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

peerInvalid: Better error message from npm ls #3080

Open
isaacs opened this Issue · 4 comments

3 participants

@isaacs
Owner

It'd be good to have a more useful error message from npm ls in a peerInvalid situation. It should show which package is depending on the invalid one, which package peerDepends on it, etc.

This may require gathering more information in the "problems" list that read-installed collects.

See: #3079 #3047

@domenic
Collaborator

The code from fc13f37 would probably be ideal for this. Maybe I should pull it out into a separate package.

@isaacs
Owner

Or just work it into readInstalled, maybe? Aren't you just calling readinstalled and doing some stuff to the data object?

@domenic
Collaborator

Yeah, I guess I am.

@smikes

/cc @iarna as possibly obsoleted by multi-stage-install

No repro set is provided; no test exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.