Automattic / Automattic/node-canvas

Warnings when compiling BMPParser.cc

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

Description

Command: sudo npm install canvas --build-from-source

The installation fails with errors. The log file is attached.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! canvas@2.7.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@2.7.0 install script.

Hardware: Raspbery Pi 4
The OS: Raspbian GNU/Linux 10 (buster)
npm: 6.14.11
node: 14.16.00

The following ran first without complaint:
sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

Log file:
[2021-03-20T22_36_55_859Z-debug.log](https://github.com/Automattic/node-canvas/files/6176541/2021-03-20T22_36_55_859Z-debug.log)

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.