5 ms·
Most of those critiques boil down to "it works differently to how I'm used to" or "I don't know how to use it so I'm going to criticize it poorly". NPM has iss
by abritinthebay 10y ago
Most of those critiques boil down to "it works differently to how I'm used to" or "I don't know how to use it so I'm going to criticize it poorly".
NPM has issues but most criticism of it is really complaints about bad dev practices (like not pinning versions correctly).
- microcolonel 10y agoOne other one is that it has hilariously poor performance, and bizarre failure cases. For some forms of network failures it'll just say "callback called too many times" and crash. There are literally no worse major package managers. A good package manager can be misused and still work reasonably well; a bad one doesn't even work all that well when used correctly.
- int_19h 10y agoOr how about this for error reporting: https://github.com/npm/npm/issues/9633 https://github.com/npm/npm/issues/9633 I especially like the part where it says "This is most likely not a problem with npm itself", even though it clearly is a problem with npm itself (as evidenced by non-deterministic nature of the bug).
- abritinthebay 10y agoThat message is their generic message because ANY error ended up being reported in github as an issue with NPM. Again, bad dev practice.
- forgotpw1123 10y agoMore like it doesn't work as well as any other package manage I've used :)
- allover 10y agoIt works better than Pip and the whole setup.py mess. (Pip doesn't even have a dependency resolver: https://github.com/pypa/pip/issues/988 https://github.com/pypa/pip/issues/988)
- abritinthebay 10y agoIt works better than most I've used - especially most of the built in OS-level ones