bonfire-networks / bonfire-app

Bonfire - tend to your digital life in community. Customise and host your own online space and control your experience at the most granular level.
https://bonfirenetworks.org
GNU Affero General Public License v3.0
561 stars 42 forks source link

Bug: Complaints on setting up dev env about yarn with wrong solution #843

Open lawik opened 7 months ago

lawik commented 7 months ago

Describe the bug When trying to start the just dev or just setup-dev with the "easy" docker mode I kept getting told it didn't have a default version of yarn and to solve it with an asdf install line that would ensure nodejs was installed. I didn't have the asdf yarn plugin so it that didn't help at all

To Reproduce

Follow the onboarding on a system with only erlang, elixir and nodejs plugins for asdf.

Expected behavior

I expected things to install without complaint :)

Bonfire environment (please complete the following information):

mayel commented 7 months ago

Was that when running asdf install in the bonfire directory? What was the error message? Because this config should be telling asdf to install all the requirements: https://github.com/bonfire-networks/bonfire-app/blob/main/.tool-versions

lawik commented 7 months ago

I think asdf install quietly skips any uninstalled plugins.

lawik commented 7 months ago

I fixed it with asdf plugin add yarn and asdf install.

mayel commented 7 months ago

ah pity, that kinda defeats the whole purpose of the tool...

mayel commented 6 months ago

it looks like mise is slightly better for at least some plugins: https://github.com/mise-plugins