View in #ohif on Slack
@Chris_Hafey: This is the latest release right? I would expect it to “just work”. Would be much more professional to reduce the number of messages this generates on build
@Alireza_Sedghi: I’m not sure why your system thinks it should use yarn 3
we have fixed it here
"engines": {
"node": ">=18",
"npm": ">=6",
"yarn": ">=1.20.0"
},
@Chris_Hafey: maybe make the yarn a range for 1.2? It is accepting 3.x
@Alireza_Sedghi: Ok i will do that
does it work using 1.x?
@Chris_Hafey: trying to install 1.x, but yarnpkg website has been kind of broken the past week so not sure the commands. Might be good to add those commands to the docs?
npm i yarn
installs 3.x
@Alireza_Sedghi: I think they changed that recently
yarn versions is a mess
1.x
was stable and is
no one knows what is 2.x
3 was on the right track
but they are now on 4.x
@Chris_Hafey: OK think I have the right version installed now:
npm i -g yarn
yarn set version classic
trying…
ahh so just figured this out - yarn set version classic sets some kind of variable in a file and is cleared when you do git clean -dfx reverting back to 3.x. that must be why i had so much trouble. I assumed it would be stored globally
looks to be building better now
Looks like its working!