nftchef / art-engine

An advanced fork of the HashLips Art Engine with additional features to generate complex art from provided layers using the familiar Hashlips setup.
MIT License
427 stars 203 forks source link

Fix for M1 install error #208

Closed defido closed 1 year ago

defido commented 2 years ago

Do the following inline. One after the other.

arch -arm64 brew install pkg-config cairo pango libpng jpeg giflib librsvg <-- Don't do this within VSCODE

npm install --save-dev canvas

npm install or yarn install

This is the fix for M1, I saw the other fix it didn't work.

First install the dependencies, then install canvas.

https://github.com/Automattic/node-canvas/issues/1733#issuecomment-808916786 <--- Found here