-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Error
Error: libcairo.so.2: ELF load command address/offset not page-aligned
at Object..node (node:internal/modules/cjs/loader:1846:18)
at Module.load (node:internal/modules/cjs/loader:1423:32)
at Function._load (node:internal/modules/cjs/loader:1246:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.<anonymous> (node:internal/modules/cjs/loader:1445:12)
at Hook._require.Module.require (/usr/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:101:39)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (/app/node_modules/canvas/lib/bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1688:14) {
code: 'ERR_DLOPEN_FAILED'
}
Environment
Host: Centos 7
arch: arm64
Image: Ubuntu 22.04/24.04
FROM ubuntu:22.04
RUN apt update && apt upgrade -y
RUN apt install -y vim curl build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
...
node: v22
node-canvas: v3.1.2
Metadata
Metadata
Assignees
Labels
No labels