Skip to content

Node build failure breaking interop tests #17526

@yang-g

Description

@yang-g
  CXX(target) Release/obj.target/grpc_node/ext/byte_buffer.o
In file included from ../ext/byte_buffer.cc:21:0:
../node_modules/nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local<v8::Value>)':
../node_modules/nan/nan.h:1081:101: error: no matching function for call to 'v8::String::WriteUtf8(v8::Isolate*, char*&, int, int, const int&)'
         length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_, static_cast<int>(len), 0, flags);
                                                                                                     ^
../node_modules/nan/nan.h:1081:101: note: candidate is:
In file included from /root/.node-gyp/10.1.0/include/node/node.h:63:0,
                 from ../node_modules/nan/nan.h:53,
                 from ../ext/byte_buffer.cc:21:
/root/.node-gyp/10.1.0/include/node/v8.h:2592:7: note: int v8::String::WriteUtf8(char*, int, int*, int) const
   int WriteUtf8(char* buffer,
       ^
/root/.node-gyp/10.1.0/include/node/v8.h:2592:7: note:   candidate expects 4 arguments, 5 provided
grpc_node.target.mk:172: recipe for target 'Release/obj.target/grpc_node/ext/byte_buffer.o' failed
make: Leaving directory '/var/local/git/grpc-node/packages/grpc-native-core/build'
make: *** [Release/obj.target/grpc_node/ext/byte_buffer.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions