Skip to content

Can't install on Apple M1 #1733

Closed
Closed
@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

├── [email protected]
├─┬ [email protected]
│ ├── [email protected] deduped
│ └─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
└─┬ [email protected]
└── [email protected] 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