Automattic / Automattic/node-canvas

libcairo.so.2: cannot open shared object file

Open
#2,061 2 comments 0 reactions 0 assignees View on GitHub
Binaries
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

## Issue

Works fine on my Mac M1

But I get this error in my CI Pipeline.

`libcairo.so.2: cannot open shared object file: No such file or directory
at Object. (node_modules/canvas/lib/bindings.js:3:18)`

## Your Environment
Node Canvas@2.9.1
Running with gitlab-runner 15.1.0~beta.20.g62206bb2 (62206bb2)
Tried on:
❌docker image node:15.6.0-buster-slim
❌docker image node:lts-buster-slim
❌docker image node:alpine
✅Mac M1 12.4

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.