Matt is a user on bsd.network. 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.

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

Matt @mindnmotion

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

· Web · 0 · 0

@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

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

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