Skip to content

What do I do about it? And why #121

Closed Answered by ranyitz
kristojorg asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kristojorg!
The short answer is that you shouldn't worry about this, the long answer is a bit more complex.

One of the original goals of the node_module resolution algorithm was to enable multiple versions of the same module. This was (and probably still is) one of the biggest strengths of node. It enabled a library to declare its dependencies and always work correctly regardless of other dependencies that are installed in the same workspace.

The tradeoff of this approach is that you need to download a lot of different versions of the same module, and since the whole industry is built this way, you get a very heavy node_modules directory. It means that installing your dependencies (bo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kristojorg
Comment options

Answer selected by ranyitz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants