voidcosmos / voidcosmos/npkill

Invalid count value

Open
#258 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9.4k
Forks
254
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
I just run npx npkill@latest --target .next on my Debian.
Initially it detects repos with .next, but theres label 1 error. 'e' to see and the Calculating stats still loading with static progress bar.

To Reproduce
Steps to reproduce the behavior:

  1. Open terminal and run npx npkill@latest --target .next
  2. See error
  3. When i click arrow up and arrow down, the error is increasing 2 error. 'e' to see => 3 error. 'e' to see so on

Expected behavior
The npkill detects all .next without issues

Screenshots

Image
  • OS: Debian
  • Version: v0.12.2

Additional context
Previously, I can use the same command to list all .next directories, but now it bugs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing npx npkill@latest --target .next on Debian with version v0.12.2, then inspect the CLI entry point and the code responsible for calculating stats and handling arrow-key navigation. Done means .next directories are detected without the error count increasing, and the Calculating stats progress completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.