This module is not working with nodejs version v9.6.1.
I did npm rebuild after getting error NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 59. Please try re-compiling or re-installing.
Got below error while rebuilding
make: Entering directory `/home/amalhotra/v8/node_modules/modern-syslog/build'
CXX(target) Release/obj.target/core/core.o
../core.cc: In member function 'virtual void {anonymous}::Worker::HandleOKCallback()':
../core.cc:34:39: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated (declared at ../../nan/nan.h:1568) [-Wdeprecated-declarations]
callback->Call(0, NULL);
^
../core.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SysLog(Nan::NAN_METHOD_ARGS_TYPE)':
../core.cc:97:31: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated (declared at ../../nan/nan.h:1568) [-Wdeprecated-declarations]
callback->Call(0, NULL);
^
SOLINK_MODULE(target) Release/obj.target/core.node
COPY Release/core.node
This module is not working with nodejs version v9.6.1. I did npm rebuild after getting error NODE_MODULE_VERSION 57. This version of Node.js requires NODE_MODULE_VERSION 59. Please try re-compiling or re-installing.
Got below error while rebuilding
make: Entering directory `/home/amalhotra/v8/node_modules/modern-syslog/build' CXX(target) Release/obj.target/core/core.o ../core.cc: In member function 'virtual void {anonymous}::Worker::HandleOKCallback()': ../core.cc:34:39: warning: 'v8::Local Nan::Callback::Call(int, v8::Local) const' is deprecated (declared at ../../nan/nan.h:1568) [-Wdeprecated-declarations]
callback->Call(0, NULL);
^
../core.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SysLog(Nan::NAN_METHOD_ARGS_TYPE)':
../core.cc:97:31: warning: 'v8::Local Nan::Callback::Call(int, v8::Local ) const' is deprecated (declared at ../../nan/nan.h:1568) [-Wdeprecated-declarations]
callback->Call(0, NULL);
^
SOLINK_MODULE(target) Release/obj.target/core.node
COPY Release/core.node