Skip to content

Can't install on Apple M1 #1733

@Glutch

Description

@Glutch

Issue or Feature

node:internal/modules/cjs/loader:1167
  return process.dlopen(module, path.toNamespacedPath(filename));
Error: dlopen(/Users/glutch/Documents/dev/javascript/xxxx/node_modules/canvas/build/Release/canvas.node, 1): Symbol not found: _cairo_fill

Steps to Reproduce

Not sure. I've installed Xcode tools, updated system to 11.1. Build from source with brew, port, reinstalled multiple times, reinstalled node-gyp, built from source, read 100 different threads, tried 100 different options. I'm so deep into this hole i have no idea what i've done. Please help me.

Your Environment

├── canvas@2.6.1
├─┬ editly@0.11.1
│ ├── canvas@2.6.1 deduped
│ └─┬ fabric@4.3.0
│ └── canvas@2.6.1 deduped
├─┬ text-to-image@2.4.4
│ └── canvas@2.6.1 deduped
└─┬ text2png@2.3.0
└── canvas@2.6.1 deduped

node v15.4.0
OSX 11.1 Big Sur - Apple Silicon M1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions