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

Freezes calculating stats #149

Closed
hd321kbps opened this issue Mar 7, 2023 · 13 comments
Closed

Freezes calculating stats #149

hd321kbps opened this issue Mar 7, 2023 · 13 comments
Labels
bug Something isn't working properly

Comments

@hd321kbps
Copy link

If you do not wait for the scan and size calculation.
Delete the folder whose size has not yet been calculated.
The calculation of statistics freezes, the size of folders is no longer calculated. Well, the stats are wrong.)
Errors: ENOENT: no such file or directory

@zaldih
Copy link
Member

zaldih commented Mar 8, 2023

Thank you for opening the issue.
Could you tell me on which OS it happens and which version of npkill?

@hd321kbps
Copy link
Author

Windows 11, npkill 0.11.0

@zaldih
Copy link
Member

zaldih commented Mar 8, 2023

Thank you very much. I will look into it :)

@zaldih zaldih added the bug Something isn't working properly label Mar 8, 2023
@FrankCheungDev
Copy link

I have encountered the same problem. I just use -gb to show folders in Gigabytes instead of Megabytes then i works.

@marckraw
Copy link

marckraw commented Apr 4, 2023

yup, same for me, by default the app freezes, but when passed -gb option, it works fine :)

@zaldih
Copy link
Member

zaldih commented Apr 6, 2023

Thank you for providing the reports.
Although I have not been able to replicate the error yet I suspect the problem has to be here.
As soon as I have some time I will dig further.

In npkill@0.11.0 this problem should not occur.

EDIT: Confirmed. This error occurs when the size of a result exceeds the GB

@supoved
Copy link

supoved commented Apr 6, 2023

can confirm same bug in version v0.11.1 and same workaround with -gb flag working
Apple M1, MacOS 13.0.1

@glyder
Copy link

glyder commented Apr 8, 2023

who is looking at this, can you simply just remove the scanning of "calculating stats", "size". On HDD this is painfully slow. I simply want to delete my node_modules.

@zaldih
Copy link
Member

zaldih commented Apr 11, 2023

I have just launched version 0.11.2 . Could you please check that this problem has been solved?
npx npkill@latest

@zaldih
Copy link
Member

zaldih commented Apr 11, 2023

@glyder I like your idea. I encourage you to open a new specific issue to discuss what would be the best option for managing that :)

@marckraw
Copy link

seems to be working now for me :)

@hd321kbps
Copy link
Author

hd321kbps commented Apr 11, 2023

0.11.2 the problem has not gone away

@FrankCheungDev
Copy link

I have just launched version 0.11.2 . Could you please check that this problem has been solved? npx npkill@latest

I think the problem is solved! Thanks!!

@zaldih zaldih closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working properly
Projects
None yet
Development

No branches or pull requests

6 participants