Skip to content

node canvas prerequisites

Kevin Van den Abeele edited this page May 13, 2020 · 5 revisions

This plugin uses node-canvas. Newer node versions or exotic combinations of node on ARM don't have prebuilt binaries available.

The plugin installation process will automatically try to build node-canvas if a prebuilt binary cannot be found. However this requires some dependencies which need to be present before installing this plugin.

Raspbian/Ubuntu/Debian:

sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

Mac OS:

Install via hombrew brew install pkg-config cairo pango libpng jpeg giflib librsvg

Other OSes:

See the compilation section on the node-canvas github.