node-gfx / node-canvas-prebuilt

Repo used to build binaries for node-canvas on CI
169 stars 31 forks source link

installation problem #121

Closed baltsevicha closed 3 years ago

baltsevicha commented 4 years ago

after npm ci i have the next problem can you help me?

node-pre-gyp http 200 https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v64-darwin-unknown-x64.tar.gz
node-pre-gyp info install unpacking Release/
node-pre-gyp info install unpacking Release/.deps/
node-pre-gyp info install unpacking Release/canvas.node
node-pre-gyp info install unpacking Release/libcairo-gobject.2.dylib
node-pre-gyp info install unpacking Release/libcairo.2.dylib
node-pre-gyp info install unpacking Release/libcroco-0.6.3.dylib
node-pre-gyp info install unpacking Release/libffi.6.dylib
node-pre-gyp info install unpacking Release/libfontconfig.1.dylib
node-pre-gyp info install unpacking Release/libfreetype.6.dylib
node-pre-gyp info install unpacking Release/libfribidi.0.dylib
node-pre-gyp info install unpacking Release/libgdk_pixbuf-2.0.0.dylib
node-pre-gyp info install unpacking Release/libgif.7.dylib
node-pre-gyp info install unpacking Release/libgio-2.0.0.dylib
node-pre-gyp WARN Pre-built binaries not installable for canvas@2.6.1 and node@10.16.3 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error zlib: unexpected end of file
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.16.3 | darwin | x64
gyp info ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.16.3 | darwin | x64
gyp info spawn /usr/bin/python
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/alexandr.baltsevich/projects/duplicates/gem-web/node_modules/canvas/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/alexandr.baltsevich/.node-gyp/10.16.3/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/alexandr.baltsevich/.node-gyp/10.16.3',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/alexandr.baltsevich/.node-gyp/10.16.3/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/alexandr.baltsevich/projects/duplicates/gem-web/node_modules/canvas',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
/bin/sh: pkg-config: command not found
gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
zbjornson commented 3 years ago

This prebuild is now available, please retry installing. Sorry for the long delay replying.