5 ms·
I also hate NodeJS for its package manager, NPM. I don't understand the way it manages dependencies and their folder. What the hell is 'node_modules/express/nod
by linhmtran168 13y ago
I also hate NodeJS for its package manager, NPM. I don't understand the way it manages dependencies and their folder. What the hell is 'node_modules/express/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/node_modules/debuglog/'.
As a result, when updating dependencies with npm, a same dependency is downloaded multiple times.
- ludwigvan 13y agoThat is a good thing when multiple libraries you depend on depend on different versions of some other library. See http://blog.izs.me/post/1675072029/10-cool-things-you-probably-didnt-realize-npm-could-do http://blog.izs.me/post/1675072029/10-cool-things-you-probab...
- ripter 13y agoIt solves the nasty versioning issues that plague the other package managers like pip and rubygems. Every package gets the correct versions for all of its dependancies at the cost of taking more hard drive space. Hard drive space is ridiculously cheap so it's a good trade off.