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.31k stars 188 forks source link

Errors on symlinked node_modules #165

Open iivmok opened 1 year ago

iivmok commented 1 year ago

When npkill encounters a symlinked node_modules it shows an error:

0. Error: ENOENT: no such file or directory, stat 'C:\a\b\c\node_modules'

Windows 10 x64

zaldih commented 1 year ago

I am trying to replicate the error with symlinked test cases but the only way I get the error is to modify the node_modules symlinked manually to break it.

Can you confirm that you can manually access to C:\a\b\c\node_modules?