Skip to content

npm ls <pkgname> always exits in error (even when there are no ls problems) #1979

Description

@isaacs

This is weird...

$ node . ls eslint
npm@7.0.2 /Users/isaacs/dev/npm/cli
├─┬ eslint-plugin-import@2.22.1
│ └── eslint@7.11.0 deduped
├─┬ eslint-plugin-node@11.1.0
│ ├─┬ eslint-plugin-es@3.0.1
│ │ └── eslint@7.11.0 deduped
│ └── eslint@7.11.0 deduped
├─┬ eslint-plugin-standard@4.0.1
│ └── eslint@7.11.0 deduped
└── eslint@7.11.0

$ echo $?
1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions