EscPosEncoder icon indicating copy to clipboard operation
EscPosEncoder copied to clipboard

Cannot install on M1 Mac (ARM64)

Open guidoffm opened this issue 3 years ago • 2 comments

The module uses canvas. Canvas itself seems to rely on Python. This gives me a lot of ugly gyp errors and the dependency cannot be installed.

guidoffm avatar May 05 '22 08:05 guidoffm

I found a solution for the problem here:

https://stackoverflow.com/questions/64562563/how-can-i-ovecome-this-error-in-npm-install

brew install pkg-config cairo pango libpng jpeg giflib librsvg

Maybe it is a good idea to add this information to the documentation.

For my needs this is too heavy since I do not need graphics.

guidoffm avatar May 05 '22 08:05 guidoffm

Thank you

chukiatt avatar Jun 22 '22 02:06 chukiatt