Fix for M1 install error #270
Unanswered
defido
asked this question in
Help + Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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 VSCODEnpm install --save-dev canvas
npm install
oryarn install
This is the fix for M1, I saw the other fix it didn't work.
First install the dependencies, then install canvas.
Automattic/node-canvas#1733 (comment) <--- Found here
Beta Was this translation helpful? Give feedback.
All reactions