Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev_install.md should mention yarn 4 #8275

Open
fm3 opened this issue Dec 12, 2024 · 4 comments
Open

dev_install.md should mention yarn 4 #8275

fm3 opened this issue Dec 12, 2024 · 4 comments
Assignees

Comments

@fm3
Copy link
Member

fm3 commented Dec 12, 2024

context: https://scm.slack.com/archives/C5AKLAV0B/p1726041769346569

how to install yarn 4 on ubuntu, MacOS?

@fm3 fm3 changed the title dev install md should mention yarn 4 dev_install.md should mention yarn 4 Dec 12, 2024
@hotzenklotz
Copy link
Member

hotzenklotz commented Dec 16, 2024

Yarn get's installed by NodeJS (or rather the NodeJS core package corepack) automatically. See: https://github.com/scalableminds/webknossos/blob/master/DEV_INSTALL.md#nodejs--yarn

There are no other install steps required.

@fm3
Copy link
Member Author

fm3 commented Dec 16, 2024

Ah I see, thanks! I’ll have a look at how to do that exactly for ubuntu, and add that in the Ubuntu block. Maybe you could do the same for the MacOS block? (Or is it already included?)

@hotzenklotz
Copy link
Member

hotzenklotz commented Jan 8, 2025

I updated the docs for MacOS in PR #8309.

The Linux steps should be identical. However, depending on your Linux distribution and how they build the nodejs package, corepack might not be shipped with the default node package...
See this separate Ubuntu package: https://launchpad.net/ubuntu/oracular/+package/node-corepack

@fm3
Copy link
Member Author

fm3 commented Jan 8, 2025

Thanks! I’ll try this with ubuntu 22.04, which is what the file explicitly supports. Users of other linux distributions will hopefully get a readable error and then have a look themselves for how to install corepack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants