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

Fix the repo build for Apple M1 laptops #1029

Merged
merged 1 commit into from
Apr 10, 2023
Merged

Fix the repo build for Apple M1 laptops #1029

merged 1 commit into from
Apr 10, 2023

Conversation

trekhleb
Copy link
Owner

@trekhleb trekhleb commented Apr 10, 2023

See the Can't install canvas npm package on Apple M1 issue for more details.

Basically, the solution is to replace the node-canvas with pngjs npm package.

Keeping the node-canvas package would require the M1 users to install the following dependencies (which is the overhead for this repo): brew install pkg-config cairo pango libpng jpeg giflib librsvg

@trekhleb trekhleb merged commit 14c5636 into master Apr 10, 2023
1 check passed
@trekhleb trekhleb deleted the no-canvas branch April 10, 2023 16:31
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

Successfully merging this pull request may close these issues.

None yet

1 participant