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

Adding package via npm fails on machines that don't have the canvas dependencies #3

Open
e-simpson opened this issue Dec 30, 2023 · 1 comment

Comments

@e-simpson
Copy link

I guess this is an issue for the canvas package this package used, so feel free to close, or perhaps just note in the readme.

Yarn/npm/bun add dither-me-this

Fails with a lengthy error that is the same as this issue:

Automattic/node-canvas#2306

To fix this, the user must install the brew/choco packages pkg-config cairo pango libpng jpeg giflib librsvg pixman.

@e-simpson
Copy link
Author

e-simpson commented Dec 30, 2023

My mistake, that doesn't fix the issue. It looks like Canvas is still working on support for Node >=18 and Apple Silicon chips.

Automattic/node-canvas#2303

Automattic/node-canvas#2036

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