Elektrine lite

← Feed

@steter@mastodon.stevesworld.co

Post #4147224

2026-07-27 19:30 UTC

A little help, please. The original problem was that "yarn install --immutable" failed because --immutable was no longer recognized as an option. Then I mis-installed yarn under root. I've tried sudo apt install cmdtest npm install -g yarn npm install -g npm@latest npm install -g yarn@latest Because /usr/bin/yarn pointed to a root directory, and was not world executable, that was unusable for the mastodon user. I deleted /usr/bin/yarn. Then after npm install -g yarn, there is no yarn for mastodon. When I attempt to install it as the mastodon user, I get Command npm not found It then directs one to install npm, which is installed an available everywhere except as the mastodon user. How do we install it? If I can't get it installed, I'm going to stop running a mastodon instance. #Mastodon #MastoAdmin

Replies (1)