voidcosmos / npkill

List any node_modules 📦 dir in your system and how heavy they are. You can then select which ones you want to erase to free up space 🧹
https://npkill.js.org
MIT License
8.33k stars 188 forks source link

Releasable space & space saved are stuck in zero #180

Closed TheMikeyRoss closed 5 months ago

TheMikeyRoss commented 5 months ago

Describe the bug After I delete some node_modules, the releasable space and "space saved" don't change and they're always stuck at zero. (this could be related to #179

To Reproduce Steps to reproduce the behavior:

  1. Be in Windows 10
  2. Run npx npkill
  3. Press any key to make the node_modules show up (#178)
  4. Press space to actually delete a node modules
  5. Notice that the "space saved" and "releasble space" don't change and are always stuck at zero

Expected behavior It should actually reflect the true sizes of "releasble space" and "space saved"

Screenshots image

zaldih commented 5 months ago

Fixed in v0.12.2.