Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels