Package cairo was not found in the pkg-config search path. Node j.s install canvas issue

Had the same problem and @Epistemex’s link helped me troubleshoot it.

… You need to install libcairo2-dev, libjpeg-dev and libgif-dev packages …

sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev

Leave a Comment