2 ms·
Yeahyeah, NPM and its community get plenty other things wrong, but not the particular flavour of dependency hell that we're discussing here. It's all neatly the
by skrebbel 13y ago
Yeahyeah, NPM and its community get plenty other things wrong, but not the particular flavour of dependency hell that we're discussing here. It's all neatly there, in a local node_modules subdirectory, and assuming the modules have been properly maintained, it just works.
You have to do actual effort to install an npm module globally (namely, provide a switch). The default does the sane thing.
- Anderkent 13y ago>You have to do actual effort to install an npm module globally (namely, provide a switch). The default does the sane thing. No it doesn't? You have to manually create a node_modules dir in the current directory because otherwise it'll scan up your tree for any parent dir containing node_modules, which is pretty much never what you want.