by untog · 10y ago · 0 comments
installs are literally the #1 thing npm needs to do well, and I really hope we see some improvement soon.
This is the first time I've heard of ied, a little competition could go a long way!
> The npm install command, when used exclusively to install packages from a package.json, will always produce the same tree. This is because install order from a package.json is always alphabetical. Same install order means that you will get the same tree.
> You can reliably get the same dependency tree by removing your node_modules directory and running npm install whenever you make a change to your package.json.
Maybe you're experiencing a bug, rather than some in-grained non-determinism in npm?
Ruby does through bundler, who else does this right? I can't think of any.
Cargo, Rust's package manager
Meteor
pip freeze > requirements.txt
Which has a similar effect.some of the very fundamental designs of npm is seriously wrong.
https://github.com/alexanderGugel/ied/pull/45#issuecomment-1...
> Thanks, but I'm not going to rename this project anytime soon.
"ied package manager" works, though.