Answer the question
In order to leave comments, you need to log in
How to find out the size of the node_modules folder?
Windows can't determine the size of this folder
Answer the question
In order to leave comments, you need to log in
Maybe it's time to update npm so that the module directory is flat building?
A question worthy of discussion.
Paths in nodemodules are too long for Windows due to infinite nesting.
And there are countless files.
Put it in a zip and see, although it may not be packed for the above reason.
Try running npm dedupe first to get rid of duplicate packages and make the tree as flat as possible. Then - consider the size.
Absolutely in all projects I can see. What's on the work machine, what's on the home.
You can also find out the weight from package.json via https://bundlephobia.com
Or via https://github.com/siddharthkp/cost-of-modules
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question