blob: 3ea54771fd60c03ce3aaa33975dcde49a50e7210 [file] [log] [blame]
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
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<Function>::New(isolate, noop), 0, nullptr);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88: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 [-Wdeprecated-declarations]
utf8Value = new (utf8ValueMemory) String::Utf8Value(value);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2821:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
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<Function>::New(sc->isolate, sc->jsCallback), 0, nullptr);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../src/addon.cpp:2:
../src/addon.h:339:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *errorCallback), 1, argv);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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<Object> reqObjectLocal = reqTemplateLocal->GetFunction()->NewInstance();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate function not viable: requires 3 arguments, but 0 were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
In file included from ../src/addon.cpp:3:
../src/http.h:102:30: warning: 'SetNamedPropertyHandler' is deprecated [-Wdeprecated-declarations]
headersTemplate->SetNamedPropertyHandler(Request::headers);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:5812:3: note: 'SetNamedPropertyHandler' has been explicitly marked deprecated here
V8_DEPRECATED(
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate function not viable: requires 3 arguments, but 0 were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> 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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:2737: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<Function>::New(args.GetIsolate(), httpPersistent)->NewInstance());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate function not viable: requires 3 arguments, but 0 were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
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<Object>::New(args.GetIsolate(), reqTemplate)->GetPrototype());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3308:3: note: 'SetPrototype' declared here
V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8config.h:410: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:160: error: too few arguments to function call, expected 2, have 1
express->Get(String::NewFromUtf8(isolate, "response"))->ToObject()->SetPrototype(Local<Object>::New(args.GetIsolate(), resTemplate)->GetPrototype());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3308:3: note: 'SetPrototype' declared here
V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8config.h:410: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/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3851:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/v8.h:3848:44: note: candidate function not viable: requires 3 arguments, but 0 were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^
In file included from ../src/addon.cpp:2:
../src/addon.h:256:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *connectionCallback), 1, argv);
^
../src/addon.h:441:48: note: in instantiation of function template specialization 'onConnection<true>' requested here
NODE_SET_METHOD(group, "onConnection", onConnection<isServer>);
^
../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace<true>::Namespace' requested here
exports->Set(String::NewFromUtf8(isolate, "server"), Namespace<uWS::SERVER>(isolate).object);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../src/addon.cpp:2:
../src/addon.h:324:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *disconnectionCallback), 4, argv);
^
../src/addon.h:443:51: note: in instantiation of function template specialization 'onDisconnection<true>' requested here
NODE_SET_METHOD(group, "onDisconnection", onDisconnection<isServer>);
^
../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace<true>::Namespace' requested here
exports->Set(String::NewFromUtf8(isolate, "server"), Namespace<uWS::SERVER>(isolate).object);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../src/addon.cpp:2:
../src/addon.h:288:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *pingCallback), 2, argv);
^
../src/addon.h:454:42: note: in instantiation of function template specialization 'onPing<true>' requested here
NODE_SET_METHOD(group, "onPing", onPing<isServer>);
^
../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace<true>::Namespace' requested here
exports->Set(String::NewFromUtf8(isolate, "server"), Namespace<uWS::SERVER>(isolate).object);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../src/addon.cpp:2:
../src/addon.h:304:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *pongCallback), 2, argv);
^
../src/addon.h:455:42: note: in instantiation of function template specialization 'onPong<true>' requested here
NODE_SET_METHOD(group, "onPong", onPong<isServer>);
^
../src/addon.cpp:8:58: note: in instantiation of member function 'Namespace<true>::Namespace' requested here
exports->Set(String::NewFromUtf8(isolate, "server"), Namespace<uWS::SERVER>(isolate).object);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../src/addon.cpp:2:
../src/addon.h:256:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *connectionCallback), 1, argv);
^
../src/addon.h:441:48: note: in instantiation of function template specialization 'onConnection<false>' requested here
NODE_SET_METHOD(group, "onConnection", onConnection<isServer>);
^
../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace<false>::Namespace' requested here
exports->Set(String::NewFromUtf8(isolate, "client"), Namespace<uWS::CLIENT>(isolate).object);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../src/addon.cpp:2:
../src/addon.h:324:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *disconnectionCallback), 4, argv);
^
../src/addon.h:443:51: note: in instantiation of function template specialization 'onDisconnection<false>' requested here
NODE_SET_METHOD(group, "onDisconnection", onDisconnection<isServer>);
^
../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace<false>::Namespace' requested here
exports->Set(String::NewFromUtf8(isolate, "client"), Namespace<uWS::CLIENT>(isolate).object);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../src/addon.cpp:2:
../src/addon.h:288:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *pingCallback), 2, argv);
^
../src/addon.h:454:42: note: in instantiation of function template specialization 'onPing<false>' requested here
NODE_SET_METHOD(group, "onPing", onPing<isServer>);
^
../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace<false>::Namespace' requested here
exports->Set(String::NewFromUtf8(isolate, "client"), Namespace<uWS::CLIENT>(isolate).object);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
In file included from ../src/addon.cpp:2:
../src/addon.h:304:15: warning: 'MakeCallback' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
node::MakeCallback(isolate, isolate->GetCurrentContext()->Global(), Local<Function>::New(isolate, *pongCallback), 2, argv);
^
../src/addon.h:455:42: note: in instantiation of function template specialization 'onPong<false>' requested here
NODE_SET_METHOD(group, "onPong", onPong<isServer>);
^
../src/addon.cpp:9:58: note: in instantiation of member function 'Namespace<false>::Namespace' requested here
exports->Set(String::NewFromUtf8(isolate, "client"), Namespace<uWS::CLIENT>(isolate).object);
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:171:1: note: 'MakeCallback' has been explicitly marked deprecated here
NODE_DEPRECATED("Use MakeCallback(..., async_context)",
^
/Users/scottyaslan/.node-gyp/10.1.0/include/node/node.h:88:20: note: expanded from macro 'NODE_DEPRECATED'
__attribute__((deprecated(message))) declarator
^
14 warnings and 17 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 (/Users/scottyaslan/.nvm/versions/node/v10.1.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/Users/scottyaslan/.nvm/versions/node/v10.1.0/bin/node" "/Users/scottyaslan/.nvm/versions/node/v10.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/scottyaslan/Development/nifi-fds/target/node_modules/uws
gyp ERR! node -v v10.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok