Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



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.


>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.


The npm registry can be replicated as CouchDB is the underlying data store.

http://clock.co.uk/tech-blogs/how-to-create-a-private-npmjs-...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: