Created
December 4, 2019 05:15
-
-
Save ivanoats/57c12c25c7f9b79f9894b79895a72a44 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[4/5] ⠁ sharp | |
error /Users/ivan/dev/gatsby-starter-reasonml-2/node_modules/sharp: Command failed. | |
Exit code: 1 | |
Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) | |
Arguments: | |
Directory: /Users/ivan/dev/gatsby-starter-reasonml-2/node_modules/sharp | |
Output: | |
info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.0/libvips-8.7.0-darwin-x64.tar.gz | |
prebuild-install WARN install No prebuilt binaries found (target=12.13.1 runtime=node arch=x64 libc= platform=darwin) | |
gyp info it worked if it ends with ok | |
gyp info using [email protected] | |
gyp info using [email protected] | darwin | x64 | |
gyp info find Python using Python version 2.7.16 found at "/usr/bin/python" | |
gyp info spawn /usr/bin/python | |
gyp info spawn args [ | |
gyp info spawn args '/Users/ivan/.fnm/node-versions/v12.13.1/installation/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/ivan/dev/gatsby-starter-reasonml-2/node_modules/sharp/build/config.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args '/Users/ivan/.fnm/node-versions/v12.13.1/installation/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args '/Users/ivan/Library/Caches/node-gyp/12.13.1/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/ivan/Library/Caches/node-gyp/12.13.1', | |
gyp info spawn args '-Dnode_gyp_dir=/Users/ivan/.fnm/node-versions/v12.13.1/installation/lib/node_modules/npm/node_modules/node-gyp', | |
gyp info spawn args '-Dnode_lib_file=/Users/ivan/Library/Caches/node-gyp/12.13.1/<(target_arch)/node.lib', | |
gyp info spawn args '-Dmodule_root_dir=/Users/ivan/dev/gatsby-starter-reasonml-2/node_modules/sharp', | |
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=.' | |
gyp info spawn args ] | |
gyp info spawn make | |
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] | |
TOUCH Release/obj.target/libvips-cpp.stamp | |
CXX(target) Release/obj.target/sharp/src/common.o | |
In file included from ../src/common.cc:24: | |
In file included from ../../nan/nan.h:223: | |
In file included from ../../nan/nan_new.h:189: | |
../../nan/nan_implementation_12_inl.h:356:37: error: too few arguments to function call, expected 2, have 1 | |
return v8::StringObject::New(value).As<v8::StringObject>(); | |
~~~~~~~~~~~~~~~~~~~~~ ^ | |
/Users/ivan/Library/Caches/node-gyp/12.13.1/include/node/v8.h:5426:3: note: 'New' declared here | |
static Local<Value> New(Isolate* isolate, Local<String> value); | |
^ | |
In file included from ../src/common.cc:24: | |
In file included from ../../nan/nan.h:223: | |
In file included from ../../nan/nan_new.h:189: | |
../../nan/nan_implementation_12_inl.h:356:58: error: expected '(' for function-style cast or type construction | |
return v8::StringObject::New(value).As<v8::StringObject>(); | |
~~~~~~~~~~~~~~~~^ | |
../../nan/nan_implementation_12_inl.h:356:60: error: expected expression | |
return v8::StringObject::New(value).As<v8::StringObject>(); | |
^ | |
In file included from ../src/common.cc:24: | |
In file included from ../../nan/nan.h:2722: | |
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >' | |
assert(persistent().IsNearDeath()); | |
~~~~~~~~~~~~ ^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from ../src/common.cc:24: | |
In file included from ../../nan/nan.h:2722: | |
../../nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >' | |
assert(wrap->handle_.IsNearDeath()); | |
~~~~~~~~~~~~~ ^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from ../src/common.cc:27: | |
../src/common.h:78:20: error: no member named 'Handle' in namespace 'v8' | |
bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
~~~~^ | |
../src/common.h:78:37: error: expected '(' for function-style cast or type construction | |
bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
~~~~~~~~~~^ | |
../src/common.h:78:39: error: use of undeclared identifier 'obj' | |
bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
^ | |
../src/common.h:78:56: error: expected '(' for function-style cast or type construction | |
bool HasAttr(v8::Handle<v8::Object> obj, std::string attr); | |
~~~~~~~~~~~ ^ | |
../src/common.h:79:29: error: no member named 'Handle' in namespace 'v8' | |
std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); | |
~~~~^ | |
../src/common.h:79:46: error: expected '(' for function-style cast or type construction | |
std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); | |
~~~~~~~~~~^ | |
../src/common.h:79:48: error: use of undeclared identifier 'obj' | |
std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); | |
^ | |
../src/common.h:79:65: error: expected '(' for function-style cast or type construction | |
std::string AttrAsStr(v8::Handle<v8::Object> obj, std::string attr); | |
~~~~~~~~~~~ ^ | |
../src/common.h:80:38: error: no member named 'Handle' in namespace 'v8' | |
std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr); | |
~~~~^ | |
../src/common.h:80:55: error: expected '(' for function-style cast or type construction | |
std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr); | |
~~~~~~~~~~^ | |
../src/common.h:80:57: error: use of undeclared identifier 'obj' | |
std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr); | |
^ | |
../src/common.h:80:74: error: expected '(' for function-style cast or type construction | |
std::vector<double> AttrAsRgba(v8::Handle<v8::Object> obj, std::string attr); | |
~~~~~~~~~~~ ^ | |
../src/common.h:81:37: warning: variable templates are a C++14 extension [-Wc++14-extensions] | |
template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { | |
^ | |
../src/common.h:81:48: error: no member named 'Handle' in namespace 'v8' | |
template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { | |
~~~~^ | |
../src/common.h:81:65: error: expected '(' for function-style cast or type construction | |
template<typename T> v8::Local<T> AttrAs(v8::Handle<v8::Object> obj, std::string attr) { | |
~~~~~~~~~~^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
1 warning and 20 errors generated. | |
make: *** [Release/obj.target/sharp/src/common.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/Users/ivan/.fnm/node-versions/v12.13.1/installation/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:210:5) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) | |
gyp ERR! System Darwin 18.7.0 | |
gyp ERR! command "/Users/ivan/.fnm/node-versions/v12.13.1/installation/bin/node" "/Users/ivan/.fnm/node-versions/v12.13.1/installation/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /Users/ivan/dev/gatsby-starter-reasonml-2/node_modules/sharp | |
ERROR | |
Command failed with exit code 1: yarnpkg | |
Error: Command failed with exit code 1: yarnpkg | |
- error.js:56 makeError | |
[lib]/[gatsby-cli]/[execa]/lib/error.js:56:11 | |
- index.js:114 handlePromise | |
[lib]/[gatsby-cli]/[execa]/index.js:114:26 | |
- task_queues.js:93 processTicksAndRejections | |
internal/process/task_queues.js:93:5 | |
ERROR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment