Skip to content

npm ls should NOT return an exit code of 1 if it finds unmet peer dependencies #456

Answered by ljharb
apoorva-sriv asked this question in RRFC
Discussion options

You must be logged in to vote

It absolutely should return nonzero; unmet peer deps mean your entire dep graph is invalid.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ljharb
Comment options

@apoorva-sriv
Comment options

@ljharb
Comment options

@apoorva-sriv
Comment options

@ljharb
Comment options

Answer selected by apoorva-sriv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
RRFC
Labels
None yet
2 participants