Sitelet https://web.archive.org/web/20200829120425/https://github.com/voidcosmos/npkill/issues/40
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npkill lists home directory #40

Open
haykam821 opened this issue Aug 27, 2019 · 1 comment
Open

npkill lists home directory #40

haykam821 opened this issue Aug 27, 2019 · 1 comment

Comments

@haykam821
Copy link

@haykam821 haykam821 commented Aug 27, 2019

Description

npkill lists the home directory as a node_modules directory:

npkill showing home directory

Reproduction

  1. Run npkill --sort size.
  2. Wait for search to complete.
  3. Do other tasks, and return to the process.
  4. /Users/user/. will appear on the list.

I was able to reproduce this multiple times.

Expected Behavior

I expected for the home directory to not be listed.

Additional Information

I am using macOS Mojave 10.14, with npkill version 0.5.0, npm version 6.10.2, and node version 12.8.1.

@zaldih zaldih added the bug label Aug 27, 2019
@zaldih
Copy link
Member

@zaldih zaldih commented Aug 27, 2019

Hi there! Thanks for reporting this bug and for the details.
Could you check if this same error happens in previous versions? Trying for example:
npx npkill@0.4.0 or npx npkill@0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.