Score:0

Where to install yarn on a mastodon server [mastodon]

cn flag

I am on my way to install mastodon.

The installation guide says:

  • be root sudo su -
  • [do some other stuff]
  • set up yarn: yarn set version classic

This gives the following output:

Resolving classic to a url...
Downloading https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn-1.22.19.js...
Saving it into /etc/apt/.yarn/releases/yarn-1.22.19.cjs...
Updating /etc/apt/.yarnrc...
Done!

So this installs the .yarn files into /etc/apt, just because I accidentally happened to be in that directory. This is obviously nonsense.
So my question:
Where should these files be located?
In /root? Some yarn guides say it has to be the project directory, which would be /home/mastodon[/live] in my case???

archygriswald avatar
cn flag
Or is this rather a question for SO?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.