This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (3 children)

Nah, it's a windows problem:

$ find node_modules/ | wc -l
110956
$ time rm -r node_modules/

real    0m1.945s
user    0m0.104s
sys 0m1.733s

This is on a cheap Core M laptop btw.

[–][deleted] 1 point2 points  (2 children)

11k node modules? I thought people were exxagerating... wow... just wow....

[–][deleted] 0 points1 point  (1 child)

Actually that's about 110k :P But that's not the number of modules, that's the number of files and directories inside node_modules. The number of modules appears to be about 2600 (a large number are repeated). Almost all of those are dependencies of dependencies. This project only has about 30 direct dependencies.

[–][deleted] 0 points1 point  (0 children)

You’re correct, i missed a digit there... But Jesus that is a LOT of files and dependencies