I'm trying to get Mastodon installed on #Debian 11. Following the instructions run into an odd error with yarn install --pure-lockfile;
> Unknown Syntax Error: Unsupported option name ("--pure-lockfile").

Googling isn't showing up anything, and as far as I can see I've latest stable yarn installed, alongside node 16.18.1, which should have yarn built in according to the yarn docs. Any ideas or suggestions where I should be looking? #MastodonInstall #sysadmin

Putting this a different way, I've #nodejs version v16.18.1, and #yarn version 3.2.4, does anyone know why yarn install --pure-lockfile reports "Unknown Syntax Error: Unsupported option name ("--pure-lockfile")"? Been banging my head on this one for a few hours now :/ #MastodonInstall #MastodonAdmin
@kirrus yarn 2 and beyond include some pretty drastic api changes. --pure-lockfile in v1 ignored lockfile generation entirely, so i bet you could get away with just `yarn install` or `npm install --no-package-lock`
@jason_the_argonaut It seemed to install okay, though worried about it working long term, not matching the documentation. Threw a lotta warnings. Someone tried the install instructions on vanilla debian 11, it looks like it *should* be running yarn 1.22.19, but for some reason I'm getting 3.2.4