Skip to content

bindings/gpt-vis-ssr fails to build locally due to missing arm64 prebuilds for canvas #217

@choweiyuan

Description

@choweiyuan

你好,开发团队:

我们在本地尝试运行 bindings/gpt-vis-ssr 时,发现构建在 Apple Silicon(arm64)Mac 上失败,问题似乎出在 canvas 依赖项上。canvas@2 缺乏对 arm64 的预构建支持,导致安装过程中原生模块编译失败。

据我们了解,这个问题在较新版本的 canvas 中已得到解决,尤其是在 v3.1.1 中引入了 arm64 的预构建支持。相关的 PR 是 #2354

是否可以考虑升级 canvas 依赖,以提升对 Apple Silicon 的兼容性?这将对使用 M1/M2 芯片的开发者非常有帮助。

感谢你们的出色工作!


Hi team,

While trying to run bindings/gpt-vis-ssr locally on an Apple Silicon (arm64) Mac, we encountered build failures related to the canvas dependency. It appears that canvas@2 lacks proper arm64 prebuild support, which causes installation to fail during native module compilation.

This issue seems to be addressed in later versions of canvas, particularly starting from v3.1.1 where arm64 prebuilds were introduced. The relevant PR is #2354.

Would you consider upgrading the canvas dependency to a newer version that includes arm64 support? This would greatly improve compatibility for developers using Apple Silicon machines.

Thanks again for the great work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions