我正在尝试安装 node-canvas 模块,但出现以下错误:当我执行 npm install canvas 时:
In file included from ../src/Canvas.cc:8:0:
../src/PNG.h: In function 'cairo_status_t canvas_write_png(cairo_surface_t*, png_rw_ptr, void*)':
../src/PNG.h:139:10: error: 'CAIRO_FORMAT_RGB30' was not declared in this scope
我想念什么?