Oh cool mastodon now requires something called "corepack", which you need to install "yarn", which is the...
-
Oh cool mastodon now requires something called "corepack", which you need to install "yarn", which is the... third? fourth? package manager involved in running a Mastodon instance? And it's not in the Debian Bookworm node release; it's only in sid. greaaaaat.
-
Emelia πΈπ»replied to Chumbawamba - Cubhumping last edited by
@aphyr we don't actually require corepack, it's just the easiest way to make sure you install yarn dependencies with the right yarn version, which is 4.5.1 on main atm.
Previously we used Yarn 1.x iirc. Corepack takes care of that automatically for you. If you use a version manager for node.js like fnm then corepack is automatically enabled iirc
-
@aphyr but the other issue at play here is that distribution bundled programming languages & runtimes are incredibly slow to update, because these move way faster than distros
Ruby 3.3.5 and Node.js 20.17 almost certainly aren't in an LTS distro's package manager.