Michael Stanclift (@vmstan@vmst.io)
Föderation EN Fr 23.08.2024 19:12:52
@danny it should be mostly painless coming from 4.2.12 so long as you are meticulous about following the upgrade steps in the release notes.
Danny (@danny@strangeminds.social)
Föderation EN Fr 23.08.2024 19:42:20
@vmstan ok, sorry to lean on you, but I *think* I have a problem
Upgrade to Yarn 4 doesn't appear to be doing anything when I do corepack enable / corepack prepare
mastodon@strangeminds:~/live$ corepack enable
mastodon@strangeminds:~/live$
mastodon@strangeminds:~/live$ corepack prepare
Preparing yarn@1.22.22...
Michael Stanclift (@vmstan@vmst.io)
Föderation EN Fr 23.08.2024 19:43:44
@danny what version of Node do you have installed and how did you install it?
Danny (@danny@strangeminds.social)
Föderation EN Fr 23.08.2024 19:45:57
@vmstan mastodon@strangeminds:~/live$ node -v
v20.17.0
I think the only reason it would've been installed is as part of the Mastodon install
Michael Stanclift (@vmstan@vmst.io)
Föderation EN Fr 23.08.2024 19:54:37
@danny is that with the 4.3 code checked out in that directory?
Michael Stanclift (@vmstan@vmst.io)
Föderation EN Fr 23.08.2024 19:58:27
@danny What do you get for corepack yarn --version
Danny (@danny@strangeminds.social)
Föderation EN Fr 23.08.2024 20:00:09
@vmstan mastodon@strangeminds:~/live$ corepack yarn --version
1.22.22
Michael Stanclift (@vmstan@vmst.io)
Föderation EN Fr 23.08.2024 20:00:31
@danny try and run corepack prepare yarn@4.4.0 --activate
Danny (@danny@strangeminds.social)
Föderation EN Fr 23.08.2024 20:02:05
@vmstan ok, now showing
mastodon@strangeminds:~/live$ corepack yarn --version
4.4.0
Does that look right?
Michael Stanclift (@vmstan@vmst.io)
Föderation EN Fr 23.08.2024 20:02:29
@danny yeah that should be correct.