Skip to content

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
@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.

1 participant