-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Invalid count value #157
Comments
Update: My first run-through of I hit |
One more troubleshooting update: looks like a single repository was causing npkill to crash. When I excluded a specific repo using the |
Thank you very much for opening the issue with all the details! It seems that the same problem is described the issue #149 . |
Closing as resolved. If the problem persists feel free to reopen it. |
I found once I removed the |
Describe the bug
Whenever running npx npkill, with or without option flags, I get an
Invalid count value
error. Using the arrow keys to select 'up' or 'down', the error count increments, and upon inspecting the errors by hittinge
, they are all the same error:RangeError: Invalid count value
on the 0th index, andInvalid count value
on the rest. (See screenshot below.)At this point, everything is broken and unresponsive, and needs to be cancelled with
CTRL+C
. This is reproducible for me on three different terminals: macOS Terminal, Tabby, and Warp.To Reproduce
Steps to reproduce the behavior:
npx npkill
1 error. 'e' to see
Expected behavior
I expect the utility to run without errors.
Screenshots
![image](https://user-images.githubusercontent.com/66661368/230963686-2c174e5a-f105-41c3-a438-4e63658f6e0f.png)
![image](https://user-images.githubusercontent.com/66661368/230964415-74418c04-8d20-4d0a-8018-56d570e0d6f0.png)
macOS 13.3.1 (22E261)
v0.11.1%
Additional context
This happens with or without flags (-x, -s size, etc). While troubleshooting, and on my first try with the built-in macOS terminal, it actually performed a successful run-through. I then decided to add the flags above, and then got the same error. When trying again without any flags, I could not reproduce a successful run-through again, and it would fail every time.
The text was updated successfully, but these errors were encountered: