Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Linux #14

Open
dandv opened this issue Jun 8, 2019 · 0 comments
Open

Build fails on Linux #14

dandv opened this issue Jun 8, 2019 · 0 comments

Comments

@dandv
Copy link

dandv commented Jun 8, 2019

Not sure why node-gyp and G++ are required on my Ubuntu 18 box, but after installing g++, I get this cryptic error on npm install:

  AR(target) Release/obj.target/libgpr.a
  COPY Release/libgpr.a
  CXX(target) Release/obj.target/grpc_node/ext/byte_buffer.o
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:222,
                 from ../ext/byte_buffer.cc:21:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                           , obj));
                                ^
In file included from /home/dandv/.node-gyp/12.4.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:52,
                 from ../ext/byte_buffer.cc:21:
/home/dandv/.node-gyp/12.4.0/include/node/v8.h:4125:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
   static MaybeLocal<Function> New(
                               ^~~
/home/dandv/.node-gyp/12.4.0/include/node/v8.h:4125:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
grpc_node.target.mk:184: recipe for target 'Release/obj.target/grpc_node/ext/byte_buffer.o' failed
make: *** [Release/obj.target/grpc_node/ext/byte_buffer.o] Error 1

Full installation error log: gatsby-fb-sui-cryptic-error.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant