Build failed: exit status 1 \u003e grpc@0.13.1 install /workspace/node_modules/grpc \u003e node-pre-gyp install --fallback-to-build [grpc] Success: \"/workspace/node_modules/grpc/src/node/extension_binary/grpc_node.node\" is installed via remote \u003e jpegtran-bin@3.0.6 postinstall /workspace/node_modules/jpegtran-bin \u003e node lib/install.js ??? jpegtran pre-build test passed successfully \u003e optipng-bin@3.1.2 postinstall /workspace/node_modules/optipng-bin \u003e node lib/install.js ??? optipng pre-build test passed successfully \u003e gifsicle@3.0.3 postinstall /workspace/node_modules/gifsicle \u003e node lib/install.js ??? gifsicle pre-build test passed successfully \u003e pngquant-bin@3.1.0 postinstall /workspace/node_modules/pngquant-bin \u003e node lib/install.js ??? The `/workspace/node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly ??? pngquant pre-build test failed ??? compiling from source ??? pngquant built successfully \u003e sharp@0.15.0 install /workspace/node_modules/sharp \u003e node-gyp rebuild make: Entering directory `/workspace/node_modules/sharp/build' TOUCH Release/obj.target/libvips-cpp.stamp CXX(target) Release/obj.target/sharp/src/common.o In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:10: error: expected ',' or ';' before 'gboolean' /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:365:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:365:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:365:1: error: redefinition of 'int __declspec' /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:365:1: error: 'dllimport' was not declared in this scope In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:33:0, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:54, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:606:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:606:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:606:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:33:0, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:54, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:606:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:607:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:607:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:607:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:33:0, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:54, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:607:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:608:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:608:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:608:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:33:0, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:54, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmain.h:608:1: error: 'dllimport' was not declared in this scope In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/gstring.h:33:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:34, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:54, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gunicode.h:694:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gunicode.h:694:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gunicode.h:694:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/gstring.h:33:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:34, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:54, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gunicode.h:694:1: error: 'dllimport' was not declared in this scope In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:54:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:327:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:327:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:327:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:54:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/giochannel.h:327:1: error: 'dllimport' was not declared in this scope In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:79:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gstrfuncs.h:53:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gstrfuncs.h:53:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gstrfuncs.h:53:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:79:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gstrfuncs.h:53:1: error: 'dllimport' was not declared in this scope In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:82:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gtestutils.h:353:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gtestutils.h:353:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gtestutils.h:353:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:82:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gtestutils.h:353:1: error: 'dllimport' was not declared in this scope In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:95:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:36:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:36:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:36:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:95:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:36:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:37:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:37:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:37:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:95:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:37:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:38:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:38:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:38:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:95:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:38:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:39:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:39:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:39:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:95:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:39:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:40:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:40:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:40:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:95:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gversion.h:40:1: error: 'dllimport' was not declared in this scope In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:107:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:98:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:98:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:98:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:107:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:98:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:99:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:99:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:99:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:107:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:99:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:101:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:101:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:101:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:107:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:101:1: error: 'dllimport' was not declared in this scope /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:272:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:272:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:272:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib.h:107:0, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/deprecated/gthread.h:272:1: error: 'dllimport' was not declared in this scope In file included from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:28:0, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/gobject/gparamspecs.h:1160:1: error: ISO C++ forbids declaration of '__declspec' with no type [-fpermissive] /workspace/node_modules/sharp/include/glib-2.0/gobject/gparamspecs.h:1160:1: warning: '__declspec' initialized and declared 'extern' [enabled by default] /workspace/node_modules/sharp/include/glib-2.0/gobject/gparamspecs.h:1160:1: error: redefinition of 'int __declspec' In file included from /workspace/node_modules/sharp/include/glib-2.0/glib/glist.h:32:0, from /workspace/node_modules/sharp/include/glib-2.0/glib/ghash.h:33, from /workspace/node_modules/sharp/include/glib-2.0/glib.h:50, from /workspace/node_modules/sharp/include/glib-2.0/gobject/gbinding.h:28, from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:23, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/glib/gmem.h:361:1: error: 'int __declspec' previously defined here In file included from /workspace/node_modules/sharp/include/glib-2.0/glib-object.h:28:0, from /workspace/node_modules/sharp/include/vips/vips8:35, from ../src/common.cc:4: /workspace/node_modules/sharp/include/glib-2.0/gobject/gparamspecs.h:1160:1: error: 'dllimport' was not declared in this scope make: *** [Release/obj.target/sharp/src/common.o] Error 1 make: Leaving directory `/workspace/node_modules/sharp/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) gyp ERR! stack at ChildProcess.emit (events.js:110:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12) gyp ERR! System Linux 3.19.0-59-generic gyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" gyp ERR! cwd /workspace/node_modules/sharp gyp ERR! node -v v0.12.7 gyp ERR! node-gyp -v v2.0.2 gyp ERR! not ok npm ERR! Linux 3.19.0-59-generic npm ERR! argv \"node\" \"/usr/local/bin/npm\" \"rebuild\" \"--update-binary\" npm ERR! node v0.12.7 npm ERR! npm v2.14.1 npm ERR! code ELIFECYCLE npm ERR! sharp@0.15.0 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sharp@0.15.0 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the sharp package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls sharp npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /workspace/npm-debug.log