DitheringIdiot/dither-me-this

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

Opened this issue · 1 comments

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.

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