New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac OS 14 => Cant install despite all other issues and installation guide #2372
Comments
I'm able to install on maOS 14.4.1 with an Apple Silicon chipset: brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman python@3.12 rm -rf node_modules npm install If you don't have the |
Using homebrew to install unpinned versions of dependencies to get a node package's build script to succeed doesn't feel right. This package should distribute a prebuilt binary for both Mac architectures, but GitHub charges money for Apple Silicon GitHub Actions runners (the free tier is Intel). Edit: not a huge improvement, but here's a nix shell definition that can also build canvas: # shell.nix
{ system ? builtins.currentSystem, pkgs ? import <nixpkgs> { inherit system; } }:
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [ pkg-config cairo pango libpng libjpeg giflib librsvg pixman darwin.apple_sdk.frameworks.Foundation ];
} Invoke using:
|
I needed to run the command |
I've the same problem and I tried everything, and nothing solved it
|
If folks come in here continuing to "same" this issue without providing indications of what exactly they ran (not just "I tried everything!") I don't think things are going to get very far. @InvisiBug your error message indicates that you don't have |
I did read the installation guide. I followed all advices and still have problems
npm i canvas has errors
canvas-install.txt
Your Environment
The text was updated successfully, but these errors were encountered: