Skip to content

NPM package count is wrong when NPM is installed but no package. #240

@cubercsl

Description

@cubercsl

Describe the bug

A clear and concise description of what the bug is.

  • Does this issue still occur in the master branch? (Required)

When npm is installed but no package, it will show 1 (npm).

Expected behavior

npm should not show in Packages.

Screenshots

Please include a screenshot of your system information if the specific system environment is relevant to the bug.

image

If applicable, add screenshots to help explain your problem.

Config file

  1. Run cp ~/.config/neofetch/config.conf conf.txt
  2. Drag conf.txt here to upload it.

conf.txt

Verbose log

  1. Run neofetch -vv 2> neofetch.log
  2. Drag neofetch.log here to upload it.

neofetch.log

Additional context

Add any other context about the problem here.

$ npm list -g --depth=0        
/home/cubercsl/.local/lib
└── (empty)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions