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

Force use of Yarn Classic to build Anki #3635

Open
dae opened this issue Dec 14, 2024 · 0 comments
Open

Force use of Yarn Classic to build Anki #3635

dae opened this issue Dec 14, 2024 · 0 comments
Milestone

Comments

@dae
Copy link
Member

dae commented Dec 14, 2024

I had quite a trouble trying to build Anki, and the cause was because Yarn Modern (Berry) was being used instead of Yarn Classic (1.x).
At first, I didn’t realize that wrong Yarn version was the cause. The build fails while building canvas@npm:1.0.0 package, with the message that 'cairo/cairo.h' file not found.

Originally reported on https://forums.ankiweb.net/t/use-yarn-classic-to-build-anki/52919/4

Possibly solution: https://forums.ankiweb.net/t/use-yarn-classic-to-build-anki/52919/5?u=dae

@dae dae added this to the 25.01 milestone Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant