Comment on When "Everything" Becomes Too Much: The npm Package Chaos of 2024 - Socket

<- View Parent
FlorianSimon@sh.itjust.works ⁨4⁩ ⁨months⁩ ago

Pip is definitely not saner. The way installs are centralized has bitten me in the ass multiple times, when I wanted to have two different versions of Conan installed on a single machine.

And I know there are workarounds like virtualenvs, but they’re complex hacks. Stockholm syndrome yadda yadda yadda.

If it was sane, downloads would be centralized (no point in downloading the same package over and over again) but installs would be project-local (symlinks? There are multiple ways to do this, cf Conan)

Sure, NPM is wasteful with storage space but I’ll take inefficient over brittle any day.

source
Sort:hotnewtop