jess, no relation 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.

ah yeah, i'm sure the console filling up with eaccess errors is fine

hey
i think maybe
npm is not actually a good way to distribute software

jess, no relation @catoutofbed

given that installing this just caused it to loop forever with EACCES errors

running as root

not sudo
as root

· Web · 0 · 2

@catoutofbed I’ve been saying this for years!! (actually I said it once a week ago or whatever)

@catoutofbed there’s a workaround: cd into the node_modules directory and do a `sudo npm install` there (no `-g`)

@jordyd
i guess i'll have to go find the source of this and do that

@catoutofbed oh you’re not running npm directly? Is it some other installer?

@jordyd
oh i am
but they're not using it to distribute a library
they're using it to install an application

@catoutofbed yeah it will put binaries in node_modules/.bin

@catoutofbed I think most node people are running macOS where the dominant Homebrew package manager has “fixed” this issue by having /usr/local owned by the main user