gyp info it worked if it ends with ok gyp info using node-gyp@3.8.0 gyp info using node@11.2.0 | darwin | x64 gyp info spawn /usr/bin/python gyp info spawn args [ '/usr/local/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/damienaulombard/Work/Web/PSA/catapulte-tools/node_modules/uws/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/Users/damienaulombard/.node-gyp/11.2.0/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/damienaulombard/.node-gyp/11.2.0', gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/Users/damienaulombard/.node-gyp/11.2.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/Users/damienaulombard/Work/Web/PSA/catapulte-tools/node_modules/uws', 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 make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] CXX(target) Release/obj.target/uws/src/Extensions.o CXX(target) Release/obj.target/uws/src/Group.o CXX(target) Release/obj.target/uws/src/Networking.o CXX(target) Release/obj.target/uws/src/Hub.o CXX(target) Release/obj.target/uws/src/Node.o CXX(target) Release/obj.target/uws/src/WebSocket.o CXX(target) Release/obj.target/uws/src/HTTPSocket.o CXX(target) Release/obj.target/uws/src/Socket.o CXX(target) Release/obj.target/uws/src/addon.o In file included from ../src/addon.cpp:2: ../src/addon.h:21:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, noop), 0, nullptr); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:37:47: warning: 'Utf8Value' is deprecated: Use Isolate version [-Wdeprecated-declarations] utf8Value = new (utf8ValueMemory) String::Utf8Value(value); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2991:5: note: 'Utf8Value' has been explicitly marked deprecated here V8_DEPRECATED("Use Isolate version", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:79:70: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:79:95: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:163:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(sc->isolate, sc->isolate->GetCurrentContext()->Global(), Local::New(sc->isolate, sc->jsCallback), 0, nullptr); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:172:49: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[2]->IntegerValue(); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:185:30: warning: 'BooleanValue' is deprecated: Use maybe version [-Wdeprecated-declarations] bool compress = args[4]->BooleanValue(); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2568:3: note: 'BooleanValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:225:51: warning: 'ToObject' is deprecated: Use maybe version [-Wdeprecated-declarations] uv_fileno((handle = getTcpHandle(args[0]->ToObject()->GetAlignedPointerFromInternalField(0))), (uv_os_fd_t *) &ticket->fd); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2549:10: note: 'ToObject' has been explicitly marked deprecated here inline V8_DEPRECATED("Use maybe version", Local ToObject() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:227:31: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] ticket->fd = args[0]->IntegerValue(); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:341:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *errorCallback), 1, argv); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:351:68: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] unwrapSocket(args[0].As())->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:363:27: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] group->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:374:35: warning: 'BooleanValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = args[2]->BooleanValue() ? uWS::OpCode::BINARY : uWS::OpCode::TEXT; ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2568:3: note: 'BooleanValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:381:49: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[1]->IntegerValue(); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:418:35: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] group->startAutoPing(args[1]->IntegerValue(), std::string(nativeString.getData(), nativeString.getLength())); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:427:25: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] hub.listen(args[1]->IntegerValue(), nullptr, 0, group); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:3: ../src/http.h:31:115: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) header.value, String::kNormalString, header.valueLength)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:45:104: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "GET", String::kNormalString, 3)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:48:104: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "PUT", String::kNormalString, 3)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:51:105: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "POST", String::kNormalString, 4)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:54:105: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "HEAD", String::kNormalString, 4)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:57:106: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "PATCH", String::kNormalString, 5)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:60:106: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "TRACE", String::kNormalString, 5)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:63:107: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "DELETE", String::kNormalString, 6)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:66:108: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "OPTIONS", String::kNormalString, 7)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:69:108: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' args.GetReturnValue().Set(String::NewFromOneByte(args.GetIsolate(), (uint8_t *) "CONNECT", String::kNormalString, 7)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:99:77: error: no matching member function for call to 'NewInstance' Local reqObjectLocal = reqTemplateLocal->GetFunction()->NewInstance(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:4108:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:4105:44: note: candidate function not viable: requires 3 arguments, but 0 were provided V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ In file included from ../src/addon.cpp:3: ../src/http.h:102:30: error: no member named 'SetNamedPropertyHandler' in 'v8::ObjectTemplate' headersTemplate->SetNamedPropertyHandler(Request::headers); ~~~~~~~~~~~~~~~ ^ ../src/http.h:137:74: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] std::string head = "HTTP/1.1 " + std::to_string(args[0]->IntegerValue()) + " "; ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:3: ../src/http.h:147:76: warning: 'ToObject' is deprecated: Use maybe version [-Wdeprecated-declarations] Local headersObject = args[args.Length() - 1]->ToObject(); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2549:10: note: 'ToObject' has been explicitly marked deprecated here inline V8_DEPRECATED("Use maybe version", Local ToObject() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:3: ../src/http.h:149:39: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (int i = 0; i < headers->Length(); i++) { ~ ^ ~~~~~~~~~~~~~~~~~ ../src/http.h:196:53: error: no matching member function for call to 'NewInstance' return resTemplateLocal->GetFunction()->NewInstance(); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:4108:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:4105:44: note: candidate function not viable: requires 3 arguments, but 0 were provided V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ In file included from ../src/addon.cpp:3: ../src/http.h:227:108: error: cannot initialize a parameter of type 'v8::NewStringType' with an rvalue of type 'v8::String::NewStringType' reqObject->SetInternalField(4, String::NewFromOneByte(isolate, (uint8_t *) req.getUrl().value, String::kNormalString, req.getUrl().valueLength)); ^~~~~~~~~~~~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2898:64: note: passing argument to parameter 'type' here Isolate* isolate, const uint8_t* data, v8::NewStringType type, ^ In file included from ../src/addon.cpp:3: ../src/http.h:293:110: error: no matching member function for call to 'NewInstance' args.GetReturnValue().Set(newInstance = Local::New(args.GetIsolate(), httpPersistent)->NewInstance()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:4108:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:4105:44: note: candidate function not viable: requires 3 arguments, but 0 were provided V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ In file included from ../src/addon.cpp:3: ../src/http.h:308:56: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] std::cout << "listen: " << hub.listen(args[0]->IntegerValue(), nullptr, 0, group) << std::endl; ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:3: ../src/http.h:320:68: warning: 'ToObject' is deprecated: Use maybe version [-Wdeprecated-declarations] express->Get(String::NewFromUtf8(isolate, "request"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), reqTemplate)->GetPrototype()); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2549:10: note: 'ToObject' has been explicitly marked deprecated here inline V8_DEPRECATED("Use maybe version", Local ToObject() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:3: ../src/http.h:320:159: error: too few arguments to function call, expected 2, have 1 express->Get(String::NewFromUtf8(isolate, "request"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), reqTemplate)->GetPrototype()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:3548:3: note: 'SetPrototype' declared here V8_WARN_UNUSED_RESULT Maybe SetPrototype(Local context, ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:418:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ In file included from ../src/addon.cpp:3: ../src/http.h:321:69: warning: 'ToObject' is deprecated: Use maybe version [-Wdeprecated-declarations] express->Get(String::NewFromUtf8(isolate, "response"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), resTemplate)->GetPrototype()); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2549:10: note: 'ToObject' has been explicitly marked deprecated here inline V8_DEPRECATED("Use maybe version", Local ToObject() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:3: ../src/http.h:321:160: error: too few arguments to function call, expected 2, have 1 express->Get(String::NewFromUtf8(isolate, "response"))->ToObject()->SetPrototype(Local::New(args.GetIsolate(), resTemplate)->GetPrototype()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:3548:3: note: 'SetPrototype' declared here V8_WARN_UNUSED_RESULT Maybe SetPrototype(Local context, ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:418:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT' #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) ^ In file included from ../src/addon.cpp:3: ../src/http.h:327:48: error: no matching member function for call to 'NewInstance' args.GetReturnValue().Set(express->NewInstance()); ~~~~~~~~~^~~~~~~~~~~ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:4108:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:4105:44: note: candidate function not viable: requires 3 arguments, but 0 were provided V8_WARN_UNUSED_RESULT MaybeLocal NewInstance( ^ In file included from ../src/addon.cpp:2: ../src/addon.h:172:49: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[2]->IntegerValue(); ^ ../src/addon.h:435:41: note: in instantiation of function template specialization 'send' requested here NODE_SET_METHOD(object, "send", send); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:185:30: warning: 'BooleanValue' is deprecated: Use maybe version [-Wdeprecated-declarations] bool compress = args[4]->BooleanValue(); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2568:3: note: 'BooleanValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:351:68: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] unwrapSocket(args[0].As())->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ^ ../src/addon.h:436:42: note: in instantiation of function template specialization 'closeSocket' requested here NODE_SET_METHOD(object, "close", closeSocket); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:381:49: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[1]->IntegerValue(); ^ ../src/addon.h:438:51: note: in instantiation of function template specialization 'prepareMessage' requested here NODE_SET_METHOD(object, "prepareMessage", prepareMessage); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:258:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *connectionCallback), 1, argv); ^ ../src/addon.h:443:48: note: in instantiation of function template specialization 'onConnection' requested here NODE_SET_METHOD(group, "onConnection", onConnection); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:326:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *disconnectionCallback), 4, argv); ^ ../src/addon.h:445:51: note: in instantiation of function template specialization 'onDisconnection' requested here NODE_SET_METHOD(group, "onDisconnection", onDisconnection); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:290:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pingCallback), 2, argv); ^ ../src/addon.h:456:42: note: in instantiation of function template specialization 'onPing' requested here NODE_SET_METHOD(group, "onPing", onPing); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:306:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pongCallback), 2, argv); ^ ../src/addon.h:457:42: note: in instantiation of function template specialization 'onPong' requested here NODE_SET_METHOD(group, "onPong", onPong); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:79:70: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ^ ../src/addon.h:458:42: note: in instantiation of function template specialization 'createGroup' requested here NODE_SET_METHOD(group, "create", createGroup); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:79:95: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:363:27: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] group->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ^ ../src/addon.h:460:41: note: in instantiation of function template specialization 'closeGroup' requested here NODE_SET_METHOD(group, "close", closeGroup); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:374:35: warning: 'BooleanValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = args[2]->BooleanValue() ? uWS::OpCode::BINARY : uWS::OpCode::TEXT; ^ ../src/addon.h:462:45: note: in instantiation of function template specialization 'broadcast' requested here NODE_SET_METHOD(group, "broadcast", broadcast); ^ ../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "server"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2568:3: note: 'BooleanValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:172:49: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[2]->IntegerValue(); ^ ../src/addon.h:435:41: note: in instantiation of function template specialization 'send' requested here NODE_SET_METHOD(object, "send", send); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:185:30: warning: 'BooleanValue' is deprecated: Use maybe version [-Wdeprecated-declarations] bool compress = args[4]->BooleanValue(); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2568:3: note: 'BooleanValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:351:68: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] unwrapSocket(args[0].As())->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ^ ../src/addon.h:436:42: note: in instantiation of function template specialization 'closeSocket' requested here NODE_SET_METHOD(object, "close", closeSocket); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:381:49: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = (uWS::OpCode) args[1]->IntegerValue(); ^ ../src/addon.h:438:51: note: in instantiation of function template specialization 'prepareMessage' requested here NODE_SET_METHOD(object, "prepareMessage", prepareMessage); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:258:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *connectionCallback), 1, argv); ^ ../src/addon.h:443:48: note: in instantiation of function template specialization 'onConnection' requested here NODE_SET_METHOD(group, "onConnection", onConnection); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:326:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *disconnectionCallback), 4, argv); ^ ../src/addon.h:445:51: note: in instantiation of function template specialization 'onDisconnection' requested here NODE_SET_METHOD(group, "onDisconnection", onDisconnection); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:290:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pingCallback), 2, argv); ^ ../src/addon.h:456:42: note: in instantiation of function template specialization 'onPing' requested here NODE_SET_METHOD(group, "onPing", onPing); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:306:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local::New(isolate, *pongCallback), 2, argv); ^ ../src/addon.h:457:42: note: in instantiation of function template specialization 'onPong' requested here NODE_SET_METHOD(group, "onPong", onPong); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here NODE_DEPRECATED("Use MakeCallback(..., async_context)", ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/node.h:91:20: note: expanded from macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^ In file included from ../src/addon.cpp:2: ../src/addon.h:79:70: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ^ ../src/addon.h:458:42: note: in instantiation of function template specialization 'createGroup' requested here NODE_SET_METHOD(group, "create", createGroup); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:79:95: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::Group *group = hub.createGroup(args[0]->IntegerValue(), args[1]->IntegerValue()); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:363:27: warning: 'IntegerValue' is deprecated: Use maybe version [-Wdeprecated-declarations] group->close(args[1]->IntegerValue(), nativeString.getData(), nativeString.getLength()); ^ ../src/addon.h:460:41: note: in instantiation of function template specialization 'closeGroup' requested here NODE_SET_METHOD(group, "close", closeGroup); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2570:3: note: 'IntegerValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from ../src/addon.cpp:2: ../src/addon.h:374:35: warning: 'BooleanValue' is deprecated: Use maybe version [-Wdeprecated-declarations] uWS::OpCode opCode = args[2]->BooleanValue() ? uWS::OpCode::BINARY : uWS::OpCode::TEXT; ^ ../src/addon.h:462:45: note: in instantiation of function template specialization 'broadcast' requested here NODE_SET_METHOD(group, "broadcast", broadcast); ^ ../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace::Namespace' requested here exports->Set(String::NewFromUtf8(isolate, "client"), Namespace(isolate).object); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8.h:2568:3: note: 'BooleanValue' has been explicitly marked deprecated here V8_DEPRECATED("Use maybe version", bool BooleanValue() const); ^ /Users/damienaulombard/.node-gyp/11.2.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ 46 warnings and 18 errors generated. make: *** [Release/obj.target/uws/src/addon.o] Error 1 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:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) gyp ERR! System Darwin 18.7.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/damienaulombard/Work/Web/PSA/catapulte-tools/node_modules/uws gyp ERR! node -v v11.2.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok