Elektrine lite

← Feed

@danny@strangeminds.social

Post #3391142

2026-06-24 16:15 UTC

@jamesoff@mastodon.jamesoff.net I'd like to try updating Yarn, but I've found several different versions of how to do that.

Replies (2)

  • @danny@strangeminds.social I think mastodon usually guides people to do it with corepack? Try "corepack enable" to make sure that's set up, and maybe "corepack use yarn 4.16.0" (that's the version I have). You could check "which yarn" to see if it's pointing at a version you'd expect (Disclaimer: I do not like the node ecosystem so my advice is mostly based on trying to make it work while touching it as little as possible :)

    Open ##3391141

  • @danny@strangeminds.social btw if "which yarn" tells you it's one in the "bin/" dir inside your mastodon install, that's a wrapper mastodon provides just to give a useful error if you don't have it installed. Try "which -a yarn" to list other installs

    Open ##3391168