FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix the repo build for Apple M1 laptops by trekhleb · Pull Request #1029 · trekhleb/javascript-algorithms · GitHub

Fix the repo build for Apple M1 laptops - #1029

Merged
trekhleb merged 1 commit into
masterfrom
no-canvas
Apr 10, 2023
Merged

Fix the repo build for Apple M1 laptops#1029
trekhleb merged 1 commit into
masterfrom
no-canvas

Conversation

trekhleb commented Apr 10, 2023
edited
Loading

Copy link
Copy Markdown
Owner

See the Can't install canvas npm package on Apple M1 issue for more details.

Basically, the solution is to replace the node-canvas with pngjs npm package.

Keeping the node-canvas package would require the M1 users to install the following dependencies (which is the overhead for this repo): brew install pkg-config cairo pango libpng jpeg giflib librsvg

trekhleb merged commit 14c5636 into master Apr 10, 2023
trekhleb deleted the no-canvas branch April 10, 2023 16:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL