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

npkill does NOT show `node_module`s in the nested projects. #164

Open AhmedBaset opened 1 year ago

AhmedBaset commented 1 year ago

Describe the bug

let's imagine this path a/b/node_module & a/c/node_module When I run npx npkill in the b or c dirs, It shows the node_module. But When I run it in a dir does not show anything.

Expected behavior I expect to show all node_modules in the nested directories such as the one in b and c.

Screenshots

cetfu commented 1 year ago

I have the same problem. did you find a solution? OS: windows Version: v0.11.3

AhmedBaset commented 1 year ago

I have the same problem. did you find a solution? OS: windows Version: v0.11.3

Not yet

AhmedBaset commented 1 year ago

@zaldih Any updates?

zaldih commented 1 year ago

I haven't had much time these weeks. Luckily that changes now in October and I hope to be able to update and look all these issues!

zaldih commented 1 year ago

I am trying to replicate the problem. I'm sure I remember at some point seeing this happen so I'm trying to figure out the circumstances in what triggers it.

zaldih commented 1 year ago

I think it could be a rendering error. While I investigate, @A7med3bdulBaset Could you try press the cursor down to see if, on update, the results magically appear?

ThePlenkov commented 2 months ago

it seems like the tool doesn't know how to deal with npm wokrspaces. I have same issue,. If it finds package,json - doesn;'t seem it goes deeper. Which in monorepo packages may have their own node_modules