jorty (deprecated aspect) is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
jorty (deprecated aspect) @jordyd

It is 2018 and people still think npm is an acceptable distribution mechanism for their programs

· Web · 3 · 4

@jordyd What do you suggest is better? npm works just fine.

@mindnmotion npm works just fine only if you're using it to manage javascript dependencies. It's not suitable for distributing programs. On my system, for example, npm's default configuration fails to install packages globally, even when run as root

@mindnmotion Additionally, it makes it impossible for system packages to depend on npm programs. Thus, these packages will need repackaging anyway

@jordyd I seem to have that same problem on OpenBSD. I just have to go to the /usr/local/lib/node_modules folder and run npm as root without -g.

@jordyd I have similar issue with composer. There's no validator between the packager and deployment, why people blindly trust it is beyond me.