Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to deploy functions which are using sharp. Same code has worked earlier.

I have some functions which are using sharp library. Now I'm not able to deploy any function because deployment fails with following:

.../sharp@0.32.6/node_modules/sharp install$ (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
.../node_modules/protobufjs postinstall$ node scripts/postinstall
.../node_modules/protobufjs postinstall$ node scripts/postinstall
.../node_modules/protobufjs postinstall: Done
.../node_modules/protobufjs postinstall: Done
.../sharp@0.32.6/node_modules/sharp install: sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-linux-x64.tar.br
.../sharp@0.32.6/node_modules/sharp install: sharp: Integrity check passed for linux-x64
.../sharp@0.32.6/node_modules/sharp install: sh: 1: prebuild-install: not found
.../sharp@0.32.6/node_modules/sharp install: sh: 1: node-gyp: not found

I wonder what has changed? My latest successful deployment was October 9. Any help highly appreciated.

Sharp version: 0.32.6, region: Europe-west3  

0 0 399
0 REPLIES 0
Top Solution Authors