-
Notifications
You must be signed in to change notification settings - Fork 92
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
README.md development setup for apple silicon and others #1454
Conversation
Why is this arm specific or depends on the node version? Doesn't the error message already describe what packages may be needed? |
arm specific: the error messages just stated that it failed to fetch canvas packages. Since there are no prebuilt binaries that can be downloaded for apple silicon, the workaround is needed. No clear error messages and StackOverflow threads were outdated. yarn: npm install only worked with yarn v1, and failed with yarn v2 v3 and v4. There were no error messages that indicated you need to switch versions, I only knew this because I faced a similar issue before. |
Hmm, which node version do you have. I just tried in my M1 Mac and didn't need to build canvas with node 20.
|
I tried with node 18, 23, 21. I could test again by removing canvas if you'd like. Also, running the editor with docker gives me the same canvas errors. |
Thanks for checking. I made the message a bit more generic as this may apply to never x86 as well. |
I noticed a week ago you migrated from
yarn
tonpm
, however I tried setting up the project for the first time today and I was running into issues when runningnpm install
(command failed: yarn run postinstall-postinstall
), until I used the correct yarn version (v1). Originally included this in the readme but removed since I don't know if that will be fixed, should I create an issue?