can't install
Hi, i can't install authenticate-pam. It failes with the following log. node and nodejs are v12.22.1.
npm install authenticate-pam
> [email protected] install /opt/iobroker/node_modules/authenticate-pam
> node-gyp rebuild
make: Entering directory '/opt/iobroker/node_modules/authenticate-pam/build'
CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
^
In file included from ../authenticate_pam.cc:23:
../../nan/nan.h:1026:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
^
In file included from ../authenticate_pam.cc:23:
../../nan/nan.h:1026:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
^
In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../authenticate_pam.cc:23:
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^~~
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
^
In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../authenticate_pam.cc:23:
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
^
In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27,
from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../authenticate_pam.cc:23:
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^~~
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
^
In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../authenticate_pam.cc:23:
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
username->WriteUtf8(m->username, sizeof(m->username) - 1);
^
In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../authenticate_pam.cc:23:
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
password->WriteUtf8(m->password, sizeof(m->password) - 1);
^
In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56,
from ../authenticate_pam.cc:23:
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~
/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
../authenticate_pam.cc: At global scope:
../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void
void init(Handle<Object> exports) {
^~~~~~
../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’
void init(Handle<Object> exports) {
^~~~~~
rand_r
../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
void init(Handle<Object> exports) {
^
../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
void init(Handle<Object> exports) {
^~~~~~~
In file included from ../../nan/nan.h:56,
from ../authenticate_pam.cc:23:
../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope
NODE_MODULE(authenticate_pam, init);
^~~~
/home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
(node::addon_register_func) (regfunc), \
^~~~~~~
../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(authenticate_pam, init);
^~~~~~~~~~~
../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
NODE_MODULE(authenticate_pam, init);
^~~~
/home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
(node::addon_register_func) (regfunc), \
^~~~~~~
../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(authenticate_pam, init);
^~~~~~~~~~~
make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1
make: Leaving directory '/opt/iobroker/node_modules/authenticate-pam/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.10.17-v7l+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
gyp ERR! node -v v12.22.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] requires a peer of [email protected] || 4.0.x || 4.1.x but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] || 4.0.x || 4.1.x but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/glob-watcher/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/osx-temperature-sensor):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/zigbee-herdsman/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2021-05-17T18_37_57_857Z-debug.log
Can you help out? Many thanks!
Nan needs to be updated. I'll look into it in the next few days
On Mon, May 17, 2021, 13:41 Sebastian Bormann @.***> wrote:
Hi, i can't install authenticate-pam. It failes with the following log. node and nodejs are v12.22.1.
npm install authenticate-pam
@.*** install /opt/iobroker/node_modules/authenticate-pam
node-gyp rebuild
make: Entering directory '/opt/iobroker/node_modules/authenticate-pam/build'
CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
../authenticate_pam.cc:107:87: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
^In file included from ../authenticate_pam.cc:23:
../../nan/nan.h:1026:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~../authenticate_pam.cc:107:87: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value*)’ is deprecated [-Wdeprecated-declarations]
Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
^In file included from ../authenticate_pam.cc:23:
../../nan/nan.h:1026:46: note: declared here
NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
^~~~~~~~~~~~../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
../authenticate_pam.cc:147:83: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
^In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^~~/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1); ^In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
../authenticate_pam.cc:152:69: warning: ‘v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
^In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^~~/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1); ^In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
username->WriteUtf8(m->username, sizeof(m->username) - 1);
^In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
password->WriteUtf8(m->password, sizeof(m->password) - 1);
^In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
^~~~~~~~~/home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
../authenticate_pam.cc: At global scope:
../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void
void init(Handle<Object> exports) {
^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’
void init(Handle<Object> exports) {
^~~~~~ rand_r../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
void init(Handle<Object> exports) {
^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
void init(Handle<Object> exports) {
^~~~~~~In file included from ../../nan/nan.h:56,
from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope
NODE_MODULE(authenticate_pam, init);
^~~~/home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
(node::addon_register_func) (regfunc), \ ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(authenticate_pam, init);
^~~~~~~~~~~
../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
NODE_MODULE(authenticate_pam, init);
^~~~/home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
(node::addon_register_func) (regfunc), \ ^~~~~~~../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(authenticate_pam, init);
^~~~~~~~~~~
make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1
make: Leaving directory '/opt/iobroker/node_modules/authenticate-pam/build'
gyp ERR! build error
gyp ERR! stack Error:
makefailed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 5.10.17-v7l+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
gyp ERR! node -v v12.22.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN @.*** requires a peer of @.*** || 4.0.x || 4.1.x but none is installed. You must install peer dependencies yourself.
npm WARN @.*** requires a peer of @.*** || 4.0.x || 4.1.x but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @.*** (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.***: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @.*** (node_modules/glob-watcher/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.***: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @.*** (node_modules/osx-temperature-sensor):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.***: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @.*** (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.***: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @.*** (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.***: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @.*** (node_modules/zigbee-herdsman/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @.***: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @.*** install:
node-gyp rebuildnpm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @.*** install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2021-05-17T18_37_57_857Z-debug.log
Can you help out? Many thanks!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Rush/node-authenticate-pam/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4JVWHVRCGFKQKRTZYT6DTOFPOZANCNFSM45A74VMQ .
👍
The reason is even master has the changes for node 14 but there is no published version on nodejs registry. Need to manually copy the cc file to override during rpm build process to workaround it.
All right - I pushed 1.0.4 to npm. Can y'all check?
Hi,
There are numerous errors. The 1.0.2 version in nodejs registry + the single cc file from the master works. But not the 1.0.4. ^ In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:206:9: error: ‘v8::Handle’ has not been declared , v8::Handlev8::String opt, bool def ^ ../../nan/nan.h:206:15: error: expected ‘,’ or ‘...’ before ‘<’ token , v8::Handlev8::String opt, bool def ^ ../../nan/nan.h: In function ‘bool NanBooleanOptionValue(v8::Localv8::Object, int)’: ../../nan/nan.h:208:7: error: ‘def’ was not declared in this scope if (def) { ^ ../../nan/nan.h:210:27: error: ‘opt’ was not declared in this scope || !optionsObj->Has(opt) ^ ../../nan/nan.h:214:26: error: ‘opt’ was not declared in this scope && optionsObj->Has(opt) ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:221:9: error: ‘v8::Handle’ has not been declared , v8::Handlev8::String opt ^ ../../nan/nan.h:221:15: error: expected ‘,’ or ‘...’ before ‘<’ token , v8::Handlev8::String opt ^ ../../nan/nan.h: In function ‘bool NanBooleanOptionValue(v8::Localv8::Object, int)’: ../../nan/nan.h:219:17: error: redefinition of ‘bool NanBooleanOptionValue(v8::Localv8::Object, int)’ NAN_INLINE bool NanBooleanOptionValue( ^ ../../nan/nan.h:204:17: error: ‘bool NanBooleanOptionValue(v8::Localv8::Object, int)’ previously defined here NAN_INLINE bool NanBooleanOptionValue( ^ ../../nan/nan.h:223:44: error: ‘opt’ was not declared in this scope return NanBooleanOptionValue(optionsObj, opt, false); ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:228:9: error: ‘v8::Handle’ has not been declared , v8::Handlev8::String opt ^ ../../nan/nan.h:228:15: error: expected ‘,’ or ‘...’ before ‘<’ token , v8::Handlev8::String opt ^ ../../nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Localv8::Object, int)’: ../../nan/nan.h:232:24: error: ‘opt’ was not declared in this scope && optionsObj->Has(opt) ^ ../../nan/nan.h:235:9: error: ‘def’ was not declared in this scope : def; ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:318:11: error: ‘NanNew’ declared as an ‘inline’ variable v8::Handlev8::FunctionTemplate receiver ^ ../../nan/nan.h:318:11: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:318:11: error: template declaration of ‘v8::Localv8::Signature NanNew’ ../../nan/nan.h:318:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::FunctionTemplate receiver ^ ../../nan/nan.h:318:38: error: expected primary-expression before ‘>’ token v8::Handlev8::FunctionTemplate receiver ^ ../../nan/nan.h:318:40: error: ‘receiver’ was not declared in this scope v8::Handlev8::FunctionTemplate receiver ^ ../../nan/nan.h:319:7: error: expected primary-expression before ‘int’ , int argc ^ ../../nan/nan.h:320:7: error: ‘Handle’ is not a member of ‘v8’ , v8::Handlev8::FunctionTemplate argv[] = 0) { ^ ../../nan/nan.h:320:38: error: expected primary-expression before ‘>’ token , v8::Handlev8::FunctionTemplate argv[] = 0) { ^ ../../nan/nan.h:320:40: error: ‘argv’ was not declared in this scope , v8::Handlev8::FunctionTemplate argv[] = 0) { ^ ../../nan/nan.h:320:45: error: expected primary-expression before ‘]’ token , v8::Handlev8::FunctionTemplate argv[] = 0) { ^ ../../nan/nan.h:327:11: error: ‘v8::Handle’ has not been declared , v8::Handlev8::Value data = v8::Handlev8::Value() ^ ../../nan/nan.h:327:17: error: expected ‘,’ or ‘...’ before ‘<’ token , v8::Handlev8::Value data = v8::Handlev8::Value() ^ ../../nan/nan.h: In function ‘v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int)’: ../../nan/nan.h:329:56: error: ‘data’ was not declared in this scope return T::New(v8::Isolate::GetCurrent(), callback, data, signature); ^ ../../nan/nan.h:329:62: error: ‘signature’ was not declared in this scope return T::New(v8::Isolate::GetCurrent(), callback, data, signature); ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:333:38: error: ‘NanNew’ declared as an ‘inline’ variable NAN_INLINE v8::Local<T> NanNew(v8::Handle<T> arg1) { ^ ../../nan/nan.h:333:38: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:333:38: error: template declaration of ‘v8::Local<T> NanNew’ ../../nan/nan.h:333:34: error: ‘Handle’ is not a member of ‘v8’ NAN_INLINE v8::Local<T> NanNew(v8::Handle<T> arg1) { ^ ../../nan/nan.h:333:46: error: expected primary-expression before ‘>’ token NAN_INLINE v8::Local<T> NanNew(v8::Handle<T> arg1) { ^ ../../nan/nan.h:333:48: error: ‘arg1’ was not declared in this scope NAN_INLINE v8::Local<T> NanNew(v8::Handle<T> arg1) { ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Date; P = double]’: ../../nan/nan.h:359:57: error: no matching function for call to ‘v8::Date::New(v8::Isolate*, double&)’ return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h:359:57: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5787:50: note: static v8::MaybeLocalv8::Value v8::Date::New(v8::Localv8::Context, double) static V8_WARN_UNUSED_RESULT MaybeLocal<Value> New(Local<Context> context, ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5787:50: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Localv8::Context’ In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:359:70: error: expected primary-expression before ‘>’ token return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h:359:72: error: expected primary-expression before ‘)’ token return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Date; P = int]’: ../../nan/nan.h:364:57: error: no matching function for call to ‘v8::Date::New(v8::Isolate*, int&)’ return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h:364:57: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5787:50: note: static v8::MaybeLocalv8::Value v8::Date::New(v8::Localv8::Context, double) static V8_WARN_UNUSED_RESULT MaybeLocal<Value> New(Local<Context> context, ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5787:50: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Localv8::Context’ In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:364:70: error: expected primary-expression before ‘>’ token return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h:364:72: error: expected primary-expression before ‘)’ token return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, const v8::ScriptOrigin&)’: ../../nan/nan.h:376:12: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound( ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::UnboundScript; P = v8::Localv8::String]’: ../../nan/nan.h:385:12: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound( ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::BooleanObject; P = bool]’: ../../nan/nan.h:391:40: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).Asv8::BooleanObject(); ^ ../../nan/nan.h:391:40: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5838:23: note: static v8::Localv8::Value v8::BooleanObject::New(v8::Isolate*, bool) static Local<Value> New(Isolate* isolate, bool value); ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5838:23: note: candidate expects 2 arguments, 1 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:391:62: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).Asv8::BooleanObject(); ^ ../../nan/nan.h:391:64: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).Asv8::BooleanObject(); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::StringObject; P = v8::Localv8::String]’: ../../nan/nan.h:398:39: error: no matching function for call to ‘v8::StringObject::New(v8::Localv8::String&)’ return v8::StringObject::New(value).Asv8::StringObject(); ^ ../../nan/nan.h:398:39: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5854:23: note: static v8::Localv8::Value v8::StringObject::New(v8::Isolate*, v8::Localv8::String) static Local<Value> New(Isolate* isolate, Local<String> value); ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5854:23: note: candidate expects 2 arguments, 1 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:398:60: error: expected primary-expression before ‘>’ token return v8::StringObject::New(value).Asv8::StringObject(); ^ ../../nan/nan.h:398:62: error: expected primary-expression before ‘)’ token return v8::StringObject::New(value).Asv8::StringObject(); ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:403:28: error: ‘Handle’ is not a member of ‘v8’ NanNew<v8::StringObject, v8::Handlev8::String >( ^ ../../nan/nan.h:403:28: error: ‘Handle’ is not a member of ‘v8’ ../../nan/nan.h:403:3: error: parse error in template argument list NanNew<v8::StringObject, v8::Handlev8::String >( ^ ../../nan/nan.h:403:51: error: expected initializer before ‘>’ token NanNew<v8::StringObject, v8::Handlev8::String >( ^ ../../nan/nan.h:416:11: error: ‘NanNew’ declared as an ‘inline’ variable v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:416:11: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:416:11: error: template declaration of ‘v8::Localv8::RegExp NanNew’ ../../nan/nan.h:416:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:416:28: error: expected primary-expression before ‘>’ token v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:416:30: error: ‘pattern’ was not declared in this scope v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:416:57: error: expected primary-expression before ‘flags’ v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h: In function ‘v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)’: ../../nan/nan.h:423:42: error: no matching function for call to ‘v8::RegExp::New(v8::Localv8::String&, v8::RegExp::Flags&)’ return v8::RegExp::New(pattern, flags); ^ ../../nan/nan.h:423:42: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5912:51: note: static v8::MaybeLocalv8::RegExp v8::RegExp::New(v8::Localv8::Context, v8::Localv8::String, v8::RegExp::Flags) static V8_WARN_UNUSED_RESULT MaybeLocal<RegExp> New(Local<Context> context, ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5912:51: note: candidate expects 3 arguments, 2 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: At global scope: ../../nan/nan.h:428:11: error: ‘NanNew’ declared as an ‘inline’ variable v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:428:11: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:428:11: error: template declaration of ‘v8::Localv8::RegExp NanNew’ ../../nan/nan.h:428:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:428:28: error: expected primary-expression before ‘>’ token v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:428:30: error: ‘pattern’ was not declared in this scope v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:428:57: error: expected primary-expression before ‘flags’ v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h: In function ‘v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)’: ../../nan/nan.h:435:42: error: no matching function for call to ‘v8::RegExp::New(v8::Localv8::String&, v8::RegExp::Flags&)’ return v8::RegExp::New(pattern, flags); ^ ../../nan/nan.h:435:42: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5912:51: note: static v8::MaybeLocalv8::RegExp v8::RegExp::New(v8::Localv8::Context, v8::Localv8::String, v8::RegExp::Flags) static V8_WARN_UNUSED_RESULT MaybeLocal<RegExp> New(Local<Context> context, ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5912:51: note: candidate expects 3 arguments, 2 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Uint32; P = int]’: ../../nan/nan.h:441:51: error: no matching function for call to ‘v8::Integer::ToUint32()’ v8::Isolate::GetCurrent(), val)->ToUint32(); ^ ../../nan/nan.h:441:51: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2836:44: note: v8::MaybeLocalv8::Uint32 v8::Value::ToUint32(v8::Localv8::Context) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2836:44: note: candidate expects 1 argument, 0 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Uint32; P = unsigned int]’: ../../nan/nan.h:447:51: error: no matching function for call to ‘v8::Integer::ToUint32()’ v8::Isolate::GetCurrent(), val)->ToUint32(); ^ ../../nan/nan.h:447:51: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2836:44: note: v8::MaybeLocalv8::Uint32 v8::Value::ToUint32(v8::Localv8::Context) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2836:44: note: candidate expects 1 argument, 0 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Int32; P = int]’: ../../nan/nan.h:452:68: error: no matching function for call to ‘v8::Integer::ToInt32()’ return v8::Int32::New(v8::Isolate::GetCurrent(), val)->ToInt32(); ^ ../../nan/nan.h:452:68: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2843:43: note: v8::MaybeLocalv8::Int32 v8::Value::ToInt32(v8::Localv8::Context) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2843:43: note: candidate expects 1 argument, 0 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Int32; P = unsigned int]’: ../../nan/nan.h:457:68: error: no matching function for call to ‘v8::Integer::ToInt32()’ return v8::Int32::New(v8::Isolate::GetCurrent(), val)->ToInt32(); ^ ../../nan/nan.h:457:68: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2843:43: note: v8::MaybeLocalv8::Int32 v8::Value::ToInt32(v8::Localv8::Context) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2843:43: note: candidate expects 1 argument, 0 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = char*]’: ../../nan/nan.h:467:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = const char*]’: ../../nan/nan.h:478:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = char*]’: ../../nan/nan.h:484:66: error: could not convert ‘v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), ((const char*)arg), (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = const char*]’: ../../nan/nan.h:490:66: error: could not convert ‘v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), arg, (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = unsigned char*]’: ../../nan/nan.h:500:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = const unsigned char*]’: ../../nan/nan.h:511:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = unsigned char*]’: ../../nan/nan.h:517:69: error: could not convert ‘v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), ((const uint8_t*)arg), (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = const unsigned char*]’: ../../nan/nan.h:523:69: error: could not convert ‘v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg, (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = short unsigned int*]’: ../../nan/nan.h:533:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = const short unsigned int*]’: ../../nan/nan.h:544:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = short unsigned int*]’: ../../nan/nan.h:550:69: error: could not convert ‘v8::String::NewFromTwoByte(v8::Isolate::GetCurrent(), ((const uint16_t*)arg), (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromTwoByte(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = const short unsigned int*]’: ../../nan/nan.h:556:69: error: could not convert ‘v8::String::NewFromTwoByte(v8::Isolate::GetCurrent(), arg, (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromTwoByte(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Localv8::String NanNew(v8::String::ExternalStringResource*)’: ../../nan/nan.h:598:12: error: ‘NewExternal’ is not a member of ‘v8::String’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), resource); ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:602:19: error: ‘NanNew’ declared as an ‘inline’ variable v8::String::ExternalAsciiStringResource resource) { ^ ../../nan/nan.h:602:19: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:602:19: error: ‘v8::Localv8::String NanNew’ redeclared as different kind of symbol ../../nan/nan.h:596:36: error: previous declaration of ‘v8::Localv8::String NanNew(v8::String::ExternalStringResource)’ NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:602:7: error: ‘ExternalAsciiStringResource’ is not a member of ‘v8::String’ v8::String::ExternalAsciiStringResource *resource) { ^ ../../nan/nan.h:602:48: error: ‘resource’ was not declared in this scope v8::String::ExternalAsciiStringResource *resource) { ^ ../../nan/nan.h:611:53: error: ‘_NanEscapeScopeHelper’ declared as an ‘inline’ variable NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) { ^ ../../nan/nan.h:611:53: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:611:53: error: template declaration of ‘v8::Local<T> _NanEscapeScopeHelper’ ../../nan/nan.h:611:49: error: ‘Handle’ is not a member of ‘v8’ NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) { ^ ../../nan/nan.h:611:61: error: expected primary-expression before ‘>’ token NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) { ^ ../../nan/nan.h:611:63: error: ‘val’ was not declared in this scope NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) { ^ ../../nan/nan.h: In function ‘v8::Localv8::Primitive NanUndefined()’: ../../nan/nan.h:632:74: error: no matching function for call to ‘NanNew(v8::Localv8::Primitive)’ return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:632:74: note: candidates are: return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:307:27: note: template<class T> v8::Local<T> NanNew() NAN_INLINE v8::Local<T> NanNew() { ^ ../../nan/nan.h:307:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 0 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:312:27: note: template<class T, class P> v8::Local<T> NanNew(P) NAN_INLINE v8::Local<T> NanNew(P arg1) { ^ ../../nan/nan.h:312:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: couldn't deduce template parameter ‘T’ return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:325:46: note: template<class T> v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int) NAN_INLINE v8::Localv8::FunctionTemplate NanNew( ^ ../../nan/nan.h:325:46: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: cannot convert ‘v8::Undefined(v8::Isolate::GetCurrent())’ (type ‘v8::Localv8::Primitive’) to type ‘NanFunctionCallback {aka void (*)(const v8::FunctionCallbackInfov8::Value&)}’ return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:338:27: note: template<class T> v8::Local<T> NanNew(const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) NAN_INLINE v8::Local<T> NanNew(const v8::Persistent<T> &arg1) { ^ ../../nan/nan.h:338:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: ‘v8::Localv8::Primitive’ is not derived from ‘const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’ return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:343:27: note: template<class T, class P> v8::Local<T> NanNew(P, int) NAN_INLINE v8::Local<T> NanNew(P arg1, int arg2) { ^ ../../nan/nan.h:343:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:371:27: note: template<class T, class P> v8::Local<T> NanNew(P, const v8::ScriptOrigin&) NAN_INLINE v8::Local<T> NanNew( ^ ../../nan/nan.h:371:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:421:36: note: template<class T> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:421:36: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:433:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:433:36: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:564:36: note: v8::Localv8::String NanNew(const char*, int) NAN_INLINE v8::Localv8::String NanNew(const char* arg, int length = -1) { ^ ../../nan/nan.h:564:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const char*’ ../../nan/nan.h:568:36: note: v8::Localv8::String NanNew(const uint8_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:568:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const uint8_t* {aka const unsigned char*}’ ../../nan/nan.h:574:36: note: v8::Localv8::String NanNew(const uint16_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:574:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const uint16_t* {aka const short unsigned int*}’ ../../nan/nan.h:580:36: note: v8::Localv8::Number NanNew(double) NAN_INLINE v8::Localv8::Number NanNew(double val) { ^ ../../nan/nan.h:580:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘double’ ../../nan/nan.h:584:37: note: v8::Localv8::Integer NanNew(int) NAN_INLINE v8::Localv8::Integer NanNew(int val) { ^ ../../nan/nan.h:584:37: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘int’ ../../nan/nan.h:588:36: note: v8::Localv8::Uint32 NanNew(unsigned int) NAN_INLINE v8::Localv8::Uint32 NanNew(unsigned int val) { ^ ../../nan/nan.h:588:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘unsigned int’ ../../nan/nan.h:592:37: note: v8::Localv8::Boolean NanNew(bool) NAN_INLINE v8::Localv8::Boolean NanNew(bool val) { ^ ../../nan/nan.h:592:37: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘bool’ ../../nan/nan.h:596:36: note: v8::Localv8::String NanNew(v8::String::ExternalStringResource*) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:596:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘v8::String::ExternalStringResource*’ ../../nan/nan.h: In function ‘v8::Localv8::Primitive NanNull()’: ../../nan/nan.h:637:69: error: no matching function for call to ‘NanNew(v8::Localv8::Primitive)’ return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:637:69: note: candidates are: return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:307:27: note: template<class T> v8::Local<T> NanNew() NAN_INLINE v8::Local<T> NanNew() { ^ ../../nan/nan.h:307:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 0 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:312:27: note: template<class T, class P> v8::Local<T> NanNew(P) NAN_INLINE v8::Local<T> NanNew(P arg1) { ^ ../../nan/nan.h:312:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: couldn't deduce template parameter ‘T’ return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:325:46: note: template<class T> v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int) NAN_INLINE v8::Localv8::FunctionTemplate NanNew( ^ ../../nan/nan.h:325:46: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: cannot convert ‘v8::Null(v8::Isolate::GetCurrent())’ (type ‘v8::Localv8::Primitive’) to type ‘NanFunctionCallback {aka void (*)(const v8::FunctionCallbackInfov8::Value&)}’ return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:338:27: note: template<class T> v8::Local<T> NanNew(const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) NAN_INLINE v8::Local<T> NanNew(const v8::Persistent<T> &arg1) { ^ ../../nan/nan.h:338:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: ‘v8::Localv8::Primitive’ is not derived from ‘const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’ return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:343:27: note: template<class T, class P> v8::Local<T> NanNew(P, int) NAN_INLINE v8::Local<T> NanNew(P arg1, int arg2) { ^ ../../nan/nan.h:343:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:371:27: note: template<class T, class P> v8::Local<T> NanNew(P, const v8::ScriptOrigin&) NAN_INLINE v8::Local<T> NanNew( ^ ../../nan/nan.h:371:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:421:36: note: template<class T> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:421:36: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:433:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:433:36: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:564:36: note: v8::Localv8::String NanNew(const char*, int) NAN_INLINE v8::Localv8::String NanNew(const char* arg, int length = -1) { ^ ../../nan/nan.h:564:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const char*’ ../../nan/nan.h:568:36: note: v8::Localv8::String NanNew(const uint8_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:568:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const uint8_t* {aka const unsigned char*}’ ../../nan/nan.h:574:36: note: v8::Localv8::String NanNew(const uint16_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:574:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const uint16_t* {aka const short unsigned int*}’ ../../nan/nan.h:580:36: note: v8::Localv8::Number NanNew(double) NAN_INLINE v8::Localv8::Number NanNew(double val) { ^ ../../nan/nan.h:580:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘double’ ../../nan/nan.h:584:37: note: v8::Localv8::Integer NanNew(int) NAN_INLINE v8::Localv8::Integer NanNew(int val) { ^ ../../nan/nan.h:584:37: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘int’ ../../nan/nan.h:588:36: note: v8::Localv8::Uint32 NanNew(unsigned int) NAN_INLINE v8::Localv8::Uint32 NanNew(unsigned int val) { ^ ../../nan/nan.h:588:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘unsigned int’ ../../nan/nan.h:592:37: note: v8::Localv8::Boolean NanNew(bool) NAN_INLINE v8::Localv8::Boolean NanNew(bool val) { ^ ../../nan/nan.h:592:37: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘bool’ ../../nan/nan.h:596:36: note: v8::Localv8::String NanNew(v8::String::ExternalStringResource*) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:596:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘v8::String::ExternalStringResource*’ ../../nan/nan.h: In function ‘v8::Localv8::Boolean NanTrue()’: ../../nan/nan.h:642:69: error: no matching function for call to ‘NanNew(v8::Localv8::Boolean)’ return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:642:69: note: candidates are: return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:307:27: note: template<class T> v8::Local<T> NanNew() NAN_INLINE v8::Local<T> NanNew() { ^ ../../nan/nan.h:307:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 0 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:312:27: note: template<class T, class P> v8::Local<T> NanNew(P) NAN_INLINE v8::Local<T> NanNew(P arg1) { ^ ../../nan/nan.h:312:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: couldn't deduce template parameter ‘T’ return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:325:46: note: template<class T> v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int) NAN_INLINE v8::Localv8::FunctionTemplate NanNew( ^ ../../nan/nan.h:325:46: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: cannot convert ‘v8::True(v8::Isolate::GetCurrent())’ (type ‘v8::Localv8::Boolean’) to type ‘NanFunctionCallback {aka void (*)(const v8::FunctionCallbackInfov8::Value&)}’ return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:338:27: note: template<class T> v8::Local<T> NanNew(const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) NAN_INLINE v8::Local<T> NanNew(const v8::Persistent<T> &arg1) { ^ ../../nan/nan.h:338:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: ‘v8::Localv8::Boolean’ is not derived from ‘const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’ return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:343:27: note: template<class T, class P> v8::Local<T> NanNew(P, int) NAN_INLINE v8::Local<T> NanNew(P arg1, int arg2) { ^ ../../nan/nan.h:343:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:371:27: note: template<class T, class P> v8::Local<T> NanNew(P, const v8::ScriptOrigin&) NAN_INLINE v8::Local<T> NanNew( ^ ../../nan/nan.h:371:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:421:36: note: template<class T> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:421:36: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:433:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:433:36: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:564:36: note: v8::Localv8::String NanNew(const char*, int) NAN_INLINE v8::Localv8::String NanNew(const char* arg, int length = -1) { ^ ../../nan/nan.h:564:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const char*’ ../../nan/nan.h:568:36: note: v8::Localv8::String NanNew(const uint8_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:568:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const uint8_t* {aka const unsigned char*}’ ../../nan/nan.h:574:36: note: v8::Localv8::String NanNew(const uint16_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:574:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const uint16_t* {aka const short unsigned int*}’ ../../nan/nan.h:580:36: note: v8::Localv8::Number NanNew(double) NAN_INLINE v8::Localv8::Number NanNew(double val) { ^ ../../nan/nan.h:580:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘double’ ../../nan/nan.h:584:37: note: v8::Localv8::Integer NanNew(int) NAN_INLINE v8::Localv8::Integer NanNew(int val) { ^ ../../nan/nan.h:584:37: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘int’ ../../nan/nan.h:588:36: note: v8::Localv8::Uint32 NanNew(unsigned int) NAN_INLINE v8::Localv8::Uint32 NanNew(unsigned int val) { ^ ../../nan/nan.h:588:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘unsigned int’ ../../nan/nan.h:592:37: note: v8::Localv8::Boolean NanNew(bool) NAN_INLINE v8::Localv8::Boolean NanNew(bool val) { ^ ../../nan/nan.h:592:37: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘bool’ ../../nan/nan.h:596:36: note: v8::Localv8::String NanNew(v8::String::ExternalStringResource*) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:596:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘v8::String::ExternalStringResource*’ ../../nan/nan.h: In function ‘v8::Localv8::Boolean NanFalse()’: ../../nan/nan.h:647:70: error: no matching function for call to ‘NanNew(v8::Localv8::Boolean)’ return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:647:70: note: candidates are: return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:307:27: note: template<class T> v8::Local<T> NanNew() NAN_INLINE v8::Local<T> NanNew() { ^ ../../nan/nan.h:307:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 0 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:312:27: note: template<class T, class P> v8::Local<T> NanNew(P) NAN_INLINE v8::Local<T> NanNew(P arg1) { ^ ../../nan/nan.h:312:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: couldn't deduce template parameter ‘T’ return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:325:46: note: template<class T> v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int) NAN_INLINE v8::Localv8::FunctionTemplate NanNew( ^ ../../nan/nan.h:325:46: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: cannot convert ‘v8::False(v8::Isolate::GetCurrent())’ (type ‘v8::Localv8::Boolean’) to type ‘NanFunctionCallback {aka void (*)(const v8::FunctionCallbackInfov8::Value&)}’ return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:338:27: note: template<class T> v8::Local<T> NanNew(const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) NAN_INLINE v8::Local<T> NanNew(const v8::Persistent<T> &arg1) { ^ ../../nan/nan.h:338:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: ‘v8::Localv8::Boolean’ is not derived from ‘const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’ return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:343:27: note: template<class T, class P> v8::Local<T> NanNew(P, int) NAN_INLINE v8::Local<T> NanNew(P arg1, int arg2) { ^ ../../nan/nan.h:343:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:371:27: note: template<class T, class P> v8::Local<T> NanNew(P, const v8::ScriptOrigin&) NAN_INLINE v8::Local<T> NanNew( ^ ../../nan/nan.h:371:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:421:36: note: template<class T> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:421:36: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:433:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:433:36: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^
../../nan/nan.h:564:36: note: v8::Localv8::String NanNew(const char*, int) NAN_INLINE v8::Localv8::String NanNew(const char* arg, int length = -1) { ^ ../../nan/nan.h:564:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const char*’ ../../nan/nan.h:568:36: note: v8::Localv8::String NanNew(const uint8_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:568:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const uint8_t* {aka const unsigned char*}’ ../../nan/nan.h:574:36: note: v8::Localv8::String NanNew(const uint16_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:574:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const uint16_t* {aka const short unsigned int*}’ ../../nan/nan.h:580:36: note: v8::Localv8::Number NanNew(double) NAN_INLINE v8::Localv8::Number NanNew(double val) { ^ ../../nan/nan.h:580:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘double’ ../../nan/nan.h:584:37: note: v8::Localv8::Integer NanNew(int) NAN_INLINE v8::Localv8::Integer NanNew(int val) { ^ ../../nan/nan.h:584:37: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘int’ ../../nan/nan.h:588:36: note: v8::Localv8::Uint32 NanNew(unsigned int) NAN_INLINE v8::Localv8::Uint32 NanNew(unsigned int val) { ^ ../../nan/nan.h:588:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘unsigned int’ ../../nan/nan.h:592:37: note: v8::Localv8::Boolean NanNew(bool) NAN_INLINE v8::Localv8::Boolean NanNew(bool val) { ^ ../../nan/nan.h:592:37: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘bool’ ../../nan/nan.h:596:36: note: v8::Localv8::String NanNew(v8::String::ExternalStringResource*) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:596:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘v8::String::ExternalStringResource*’ ../../nan/nan.h: At global scope: ../../nan/nan.h:655:11: error: variable or field ‘NanSetTemplate’ declared void v8::Handlev8::Template templ ^ ../../nan/nan.h:655:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::Template templ ^ ../../nan/nan.h:655:30: error: expected primary-expression before ‘>’ token v8::Handlev8::Template templ ^ ../../nan/nan.h:655:32: error: ‘templ’ was not declared in this scope v8::Handlev8::Template templ ^ ../../nan/nan.h:656:7: error: expected primary-expression before ‘const’ , const char name ^ ../../nan/nan.h:657:7: error: ‘Handle’ is not a member of ‘v8’ , v8::Handlev8::Data value) { ^ ../../nan/nan.h:657:26: error: expected primary-expression before ‘>’ token , v8::Handlev8::Data value) { ^ ../../nan/nan.h:657:28: error: ‘value’ was not declared in this scope , v8::Handlev8::Data value) { ^ ../../nan/nan.h:666:11: error: ‘NanGetInternalFieldPointer’ declared as an ‘inline’ variable v8::Handlev8::Object object ^ ../../nan/nan.h:666:11: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:666:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::Object object ^ ../../nan/nan.h:666:28: error: expected primary-expression before ‘>’ token v8::Handlev8::Object object ^ ../../nan/nan.h:666:30: error: ‘object’ was not declared in this scope v8::Handlev8::Object object ^ ../../nan/nan.h:667:7: error: expected primary-expression before ‘int’ , int index) { ^ ../../nan/nan.h:667:16: error: expression list treated as compound expression in initializer [-fpermissive] , int index) { ^ ../../nan/nan.h:667:18: error: expected ‘,’ or ‘;’ before ‘{’ token , int index) { ^ ../../nan/nan.h:672:11: error: variable or field ‘NanSetInternalFieldPointer’ declared void v8::Handlev8::Object object ^ ../../nan/nan.h:672:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::Object object ^ ../../nan/nan.h:672:28: error: expected primary-expression before ‘>’ token v8::Handlev8::Object object ^ ../../nan/nan.h:672:30: error: ‘object’ was not declared in this scope v8::Handlev8::Object object ^ ../../nan/nan.h:673:7: error: expected primary-expression before ‘int’ , int index ^ ../../nan/nan.h:674:7: error: expected primary-expression before ‘void’ , void value) { ^ ../../nan/nan.h:679:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback ^ ../../nan/nan.h:679:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’ v8::Isolate::GCEpilogueCallback callback ^ ../../nan/nan.h:680:18: error: expect
@XTerry2021 could you check which version of nan is being used when you install from master? I believe I need to lock it to a concrete version.
Changing nan:* to below works: "nan": "^2.3.3"
Thanks, Terry
On Tue, Sep 21, 2021 at 10:30 PM Terry Xie @.***> wrote:
Hi,
There are numerous errors. The 1.0.2 version in nodejs registry + the single cc file from the master works. But not the 1.0.4. ^ In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:206:9: error: ‘v8::Handle’ has not been declared , v8::Handlev8::String opt, bool def ^ ../../nan/nan.h:206:15: error: expected ‘,’ or ‘...’ before ‘<’ token , v8::Handlev8::String opt, bool def ^ ../../nan/nan.h: In function ‘bool NanBooleanOptionValue(v8::Localv8::Object, int)’: ../../nan/nan.h:208:7: error: ‘def’ was not declared in this scope if (def) { ^ ../../nan/nan.h:210:27: error: ‘opt’ was not declared in this scope || !optionsObj->Has(opt) ^ ../../nan/nan.h:214:26: error: ‘opt’ was not declared in this scope && optionsObj->Has(opt) ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:221:9: error: ‘v8::Handle’ has not been declared , v8::Handlev8::String opt ^ ../../nan/nan.h:221:15: error: expected ‘,’ or ‘...’ before ‘<’ token , v8::Handlev8::String opt ^ ../../nan/nan.h: In function ‘bool NanBooleanOptionValue(v8::Localv8::Object, int)’: ../../nan/nan.h:219:17: error: redefinition of ‘bool NanBooleanOptionValue(v8::Localv8::Object, int)’ NAN_INLINE bool NanBooleanOptionValue( ^ ../../nan/nan.h:204:17: error: ‘bool NanBooleanOptionValue(v8::Localv8::Object, int)’ previously defined here NAN_INLINE bool NanBooleanOptionValue( ^ ../../nan/nan.h:223:44: error: ‘opt’ was not declared in this scope return NanBooleanOptionValue(optionsObj, opt, false); ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:228:9: error: ‘v8::Handle’ has not been declared , v8::Handlev8::String opt ^ ../../nan/nan.h:228:15: error: expected ‘,’ or ‘...’ before ‘<’ token , v8::Handlev8::String opt ^ ../../nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Localv8::Object, int)’: ../../nan/nan.h:232:24: error: ‘opt’ was not declared in this scope && optionsObj->Has(opt) ^ ../../nan/nan.h:235:9: error: ‘def’ was not declared in this scope : def; ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:318:11: error: ‘NanNew’ declared as an ‘inline’ variable v8::Handlev8::FunctionTemplate receiver ^ ../../nan/nan.h:318:11: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:318:11: error: template declaration of ‘v8::Localv8::Signature NanNew’ ../../nan/nan.h:318:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::FunctionTemplate receiver ^ ../../nan/nan.h:318:38: error: expected primary-expression before ‘>’ token v8::Handlev8::FunctionTemplate receiver ^ ../../nan/nan.h:318:40: error: ‘receiver’ was not declared in this scope v8::Handlev8::FunctionTemplate receiver ^ ../../nan/nan.h:319:7: error: expected primary-expression before ‘int’ , int argc ^ ../../nan/nan.h:320:7: error: ‘Handle’ is not a member of ‘v8’ , v8::Handlev8::FunctionTemplate argv[] = 0) { ^ ../../nan/nan.h:320:38: error: expected primary-expression before ‘>’ token , v8::Handlev8::FunctionTemplate argv[] = 0) { ^ ../../nan/nan.h:320:40: error: ‘argv’ was not declared in this scope , v8::Handlev8::FunctionTemplate argv[] = 0) { ^ ../../nan/nan.h:320:45: error: expected primary-expression before ‘]’ token , v8::Handlev8::FunctionTemplate argv[] = 0) { ^ ../../nan/nan.h:327:11: error: ‘v8::Handle’ has not been declared , v8::Handlev8::Value data = v8::Handlev8::Value() ^ ../../nan/nan.h:327:17: error: expected ‘,’ or ‘...’ before ‘<’ token , v8::Handlev8::Value data = v8::Handlev8::Value() ^ ../../nan/nan.h: In function ‘v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int)’: ../../nan/nan.h:329:56: error: ‘data’ was not declared in this scope return T::New(v8::Isolate::GetCurrent(), callback, data, signature); ^ ../../nan/nan.h:329:62: error: ‘signature’ was not declared in this scope return T::New(v8::Isolate::GetCurrent(), callback, data, signature); ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:333:38: error: ‘NanNew’ declared as an ‘inline’ variable NAN_INLINE v8::Local<T> NanNew(v8::Handle<T> arg1) { ^ ../../nan/nan.h:333:38: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:333:38: error: template declaration of ‘v8::Local<T> NanNew’ ../../nan/nan.h:333:34: error: ‘Handle’ is not a member of ‘v8’ NAN_INLINE v8::Local<T> NanNew(v8::Handle<T> arg1) { ^ ../../nan/nan.h:333:46: error: expected primary-expression before ‘>’ token NAN_INLINE v8::Local<T> NanNew(v8::Handle<T> arg1) { ^ ../../nan/nan.h:333:48: error: ‘arg1’ was not declared in this scope NAN_INLINE v8::Local<T> NanNew(v8::Handle<T> arg1) { ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Date; P = double]’: ../../nan/nan.h:359:57: error: no matching function for call to ‘v8::Date::New(v8::Isolate*, double&)’ return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h:359:57: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5787:50: note: static v8::MaybeLocalv8::Value v8::Date::New(v8::Localv8::Context, double) static V8_WARN_UNUSED_RESULT MaybeLocal<Value> New(Local<Context> context, ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5787:50: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Localv8::Context’ In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:359:70: error: expected primary-expression before ‘>’ token return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h:359:72: error: expected primary-expression before ‘)’ token return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Date; P = int]’: ../../nan/nan.h:364:57: error: no matching function for call to ‘v8::Date::New(v8::Isolate*, int&)’ return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h:364:57: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5787:50: note: static v8::MaybeLocalv8::Value v8::Date::New(v8::Localv8::Context, double) static V8_WARN_UNUSED_RESULT MaybeLocal<Value> New(Local<Context> context, ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5787:50: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Localv8::Context’ In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:364:70: error: expected primary-expression before ‘>’ token return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h:364:72: error: expected primary-expression before ‘)’ token return v8::Date::New(v8::Isolate::GetCurrent(), time).Asv8::Date(); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, const v8::ScriptOrigin&)’: ../../nan/nan.h:376:12: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound( ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::UnboundScript; P = v8::Localv8::String]’: ../../nan/nan.h:385:12: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound( ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::BooleanObject; P = bool]’: ../../nan/nan.h:391:40: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).Asv8::BooleanObject(); ^ ../../nan/nan.h:391:40: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5838:23: note: static v8::Localv8::Value v8::BooleanObject::New(v8::Isolate*, bool) static Local<Value> New(Isolate* isolate, bool value); ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5838:23: note: candidate expects 2 arguments, 1 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:391:62: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).Asv8::BooleanObject(); ^ ../../nan/nan.h:391:64: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).Asv8::BooleanObject(); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::StringObject; P = v8::Localv8::String]’: ../../nan/nan.h:398:39: error: no matching function for call to ‘v8::StringObject::New(v8::Localv8::String&)’ return v8::StringObject::New(value).Asv8::StringObject(); ^ ../../nan/nan.h:398:39: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5854:23: note: static v8::Localv8::Value v8::StringObject::New(v8::Isolate*, v8::Localv8::String) static Local<Value> New(Isolate* isolate, Local<String> value); ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5854:23: note: candidate expects 2 arguments, 1 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h:398:60: error: expected primary-expression before ‘>’ token return v8::StringObject::New(value).Asv8::StringObject(); ^ ../../nan/nan.h:398:62: error: expected primary-expression before ‘)’ token return v8::StringObject::New(value).Asv8::StringObject(); ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:403:28: error: ‘Handle’ is not a member of ‘v8’ NanNew<v8::StringObject, v8::Handlev8::String >( ^ ../../nan/nan.h:403:28: error: ‘Handle’ is not a member of ‘v8’ ../../nan/nan.h:403:3: error: parse error in template argument list NanNew<v8::StringObject, v8::Handlev8::String >( ^ ../../nan/nan.h:403:51: error: expected initializer before ‘>’ token NanNew<v8::StringObject, v8::Handlev8::String >( ^ ../../nan/nan.h:416:11: error: ‘NanNew’ declared as an ‘inline’ variable v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:416:11: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:416:11: error: template declaration of ‘v8::Localv8::RegExp NanNew’ ../../nan/nan.h:416:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:416:28: error: expected primary-expression before ‘>’ token v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:416:30: error: ‘pattern’ was not declared in this scope v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:416:57: error: expected primary-expression before ‘flags’ v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h: In function ‘v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)’: ../../nan/nan.h:423:42: error: no matching function for call to ‘v8::RegExp::New(v8::Localv8::String&, v8::RegExp::Flags&)’ return v8::RegExp::New(pattern, flags); ^ ../../nan/nan.h:423:42: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5912:51: note: static v8::MaybeLocalv8::RegExp v8::RegExp::New(v8::Localv8::Context, v8::Localv8::String, v8::RegExp::Flags) static V8_WARN_UNUSED_RESULT MaybeLocal<RegExp> New(Local<Context> context, ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5912:51: note: candidate expects 3 arguments, 2 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: At global scope: ../../nan/nan.h:428:11: error: ‘NanNew’ declared as an ‘inline’ variable v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:428:11: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:428:11: error: template declaration of ‘v8::Localv8::RegExp NanNew’ ../../nan/nan.h:428:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:428:28: error: expected primary-expression before ‘>’ token v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:428:30: error: ‘pattern’ was not declared in this scope v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h:428:57: error: expected primary-expression before ‘flags’ v8::Handlev8::String pattern, v8::RegExp::Flags flags) { ^ ../../nan/nan.h: In function ‘v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags)’: ../../nan/nan.h:435:42: error: no matching function for call to ‘v8::RegExp::New(v8::Localv8::String&, v8::RegExp::Flags&)’ return v8::RegExp::New(pattern, flags); ^ ../../nan/nan.h:435:42: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5912:51: note: static v8::MaybeLocalv8::RegExp v8::RegExp::New(v8::Localv8::Context, v8::Localv8::String, v8::RegExp::Flags) static V8_WARN_UNUSED_RESULT MaybeLocal<RegExp> New(Local<Context> context, ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:5912:51: note: candidate expects 3 arguments, 2 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Uint32; P = int]’: ../../nan/nan.h:441:51: error: no matching function for call to ‘v8::Integer::ToUint32()’ v8::Isolate::GetCurrent(), val)->ToUint32(); ^ ../../nan/nan.h:441:51: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2836:44: note: v8::MaybeLocalv8::Uint32 v8::Value::ToUint32(v8::Localv8::Context) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2836:44: note: candidate expects 1 argument, 0 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Uint32; P = unsigned int]’: ../../nan/nan.h:447:51: error: no matching function for call to ‘v8::Integer::ToUint32()’ v8::Isolate::GetCurrent(), val)->ToUint32(); ^ ../../nan/nan.h:447:51: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2836:44: note: v8::MaybeLocalv8::Uint32 v8::Value::ToUint32(v8::Localv8::Context) const V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2836:44: note: candidate expects 1 argument, 0 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Int32; P = int]’: ../../nan/nan.h:452:68: error: no matching function for call to ‘v8::Integer::ToInt32()’ return v8::Int32::New(v8::Isolate::GetCurrent(), val)->ToInt32(); ^ ../../nan/nan.h:452:68: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2843:43: note: v8::MaybeLocalv8::Int32 v8::Value::ToInt32(v8::Localv8::Context) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2843:43: note: candidate expects 1 argument, 0 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::Int32; P = unsigned int]’: ../../nan/nan.h:457:68: error: no matching function for call to ‘v8::Integer::ToInt32()’ return v8::Int32::New(v8::Isolate::GetCurrent(), val)->ToInt32(); ^ ../../nan/nan.h:457:68: note: candidate is: In file included from /opt/incognito/.cache/node-gyp/14.17.5/include/node/node.h:67:0, from ../../nan/nan.h:157, from ../authenticate_pam.cc:23: /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2843:43: note: v8::MaybeLocalv8::Int32 v8::Value::ToInt32(v8::Localv8::Context) const V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^ /opt/incognito/.cache/node-gyp/14.17.5/include/node/v8.h:2843:43: note: candidate expects 1 argument, 0 provided In file included from ../authenticate_pam.cc:23:0: ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = char*]’: ../../nan/nan.h:467:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = const char*]’: ../../nan/nan.h:478:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = char*]’: ../../nan/nan.h:484:66: error: could not convert ‘v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), ((const char*)arg), (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = const char*]’: ../../nan/nan.h:490:66: error: could not convert ‘v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), arg, (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = unsigned char*]’: ../../nan/nan.h:500:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = const unsigned char*]’: ../../nan/nan.h:511:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = unsigned char*]’: ../../nan/nan.h:517:69: error: could not convert ‘v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), ((const uint8_t*)arg), (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = const unsigned char*]’: ../../nan/nan.h:523:69: error: could not convert ‘v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg, (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = short unsigned int*]’: ../../nan/nan.h:533:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P, int) [with T = v8::String; P = const short unsigned int*]’: ../../nan/nan.h:544:9: error: ‘kNormalString’ is not a member of ‘v8::String’ , v8::String::kNormalString ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = short unsigned int*]’: ../../nan/nan.h:550:69: error: could not convert ‘v8::String::NewFromTwoByte(v8::Isolate::GetCurrent(), ((const uint16_t*)arg), (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromTwoByte(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Local<T> NanNew(P) [with T = v8::String; P = const short unsigned int*]’: ../../nan/nan.h:556:69: error: could not convert ‘v8::String::NewFromTwoByte(v8::Isolate::GetCurrent(), arg, (v8::NewStringType)0, -1)’ from ‘v8::MaybeLocalv8::String’ to ‘v8::Localv8::String’ return v8::String::NewFromTwoByte(v8::Isolate::GetCurrent(), arg); ^ ../../nan/nan.h: In function ‘v8::Localv8::String NanNew(v8::String::ExternalStringResource*)’: ../../nan/nan.h:598:12: error: ‘NewExternal’ is not a member of ‘v8::String’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), resource); ^ ../../nan/nan.h: At global scope: ../../nan/nan.h:602:19: error: ‘NanNew’ declared as an ‘inline’ variable v8::String::ExternalAsciiStringResource resource) { ^ ../../nan/nan.h:602:19: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:602:19: error: ‘v8::Localv8::String NanNew’ redeclared as different kind of symbol ../../nan/nan.h:596:36: error: previous declaration of ‘v8::Localv8::String NanNew(v8::String::ExternalStringResource)’ NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:602:7: error: ‘ExternalAsciiStringResource’ is not a member of ‘v8::String’ v8::String::ExternalAsciiStringResource *resource) { ^ ../../nan/nan.h:602:48: error: ‘resource’ was not declared in this scope v8::String::ExternalAsciiStringResource *resource) { ^ ../../nan/nan.h:611:53: error: ‘_NanEscapeScopeHelper’ declared as an ‘inline’ variable NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) { ^ ../../nan/nan.h:611:53: warning: ‘always_inline’ attribute ignored [-Wattributes] ../../nan/nan.h:611:53: error: template declaration of ‘v8::Local<T> _NanEscapeScopeHelper’ ../../nan/nan.h:611:49: error: ‘Handle’ is not a member of ‘v8’ NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) { ^ ../../nan/nan.h:611:61: error: expected primary-expression before ‘>’ token NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) { ^ ../../nan/nan.h:611:63: error: ‘val’ was not declared in this scope NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) { ^ ../../nan/nan.h: In function ‘v8::Localv8::Primitive NanUndefined()’: ../../nan/nan.h:632:74: error: no matching function for call to ‘NanNew(v8::Localv8::Primitive)’ return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:632:74: note: candidates are: return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:307:27: note: template<class T> v8::Local<T> NanNew() NAN_INLINE v8::Local<T> NanNew() { ^ ../../nan/nan.h:307:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 0 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:312:27: note: template<class T, class P> v8::Local<T> NanNew(P) NAN_INLINE v8::Local<T> NanNew(P arg1) { ^ ../../nan/nan.h:312:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: couldn't deduce template parameter ‘T’ return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:325:46: note: template<class T> v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int) NAN_INLINE v8::Localv8::FunctionTemplate NanNew( ^ ../../nan/nan.h:325:46: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: cannot convert ‘v8::Undefined(v8::Isolate::GetCurrent())’ (type ‘v8::Localv8::Primitive’) to type ‘NanFunctionCallback {aka void (*)(const v8::FunctionCallbackInfov8::Value&)}’ return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:338:27: note: template<class T> v8::Local<T> NanNew(const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) NAN_INLINE v8::Local<T> NanNew(const v8::Persistent<T> &arg1) { ^ ../../nan/nan.h:338:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: ‘v8::Localv8::Primitive’ is not derived from ‘const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’ return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:343:27: note: template<class T, class P> v8::Local<T> NanNew(P, int) NAN_INLINE v8::Local<T> NanNew(P arg1, int arg2) { ^ ../../nan/nan.h:343:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:371:27: note: template<class T, class P> v8::Local<T> NanNew(P, const v8::ScriptOrigin&) NAN_INLINE v8::Local<T> NanNew( ^ ../../nan/nan.h:371:27: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:421:36: note: template<class T> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:421:36: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:433:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:433:36: note: template argument deduction/substitution failed: ../../nan/nan.h:632:74: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:564:36: note: v8::Localv8::String NanNew(const char*, int) NAN_INLINE v8::Localv8::String NanNew(const char* arg, int length = -1) { ^ ../../nan/nan.h:564:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const char*’ ../../nan/nan.h:568:36: note: v8::Localv8::String NanNew(const uint8_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:568:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const uint8_t* {aka const unsigned char*}’ ../../nan/nan.h:574:36: note: v8::Localv8::String NanNew(const uint16_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:574:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const uint16_t* {aka const short unsigned int*}’ ../../nan/nan.h:580:36: note: v8::Localv8::Number NanNew(double) NAN_INLINE v8::Localv8::Number NanNew(double val) { ^ ../../nan/nan.h:580:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘double’ ../../nan/nan.h:584:37: note: v8::Localv8::Integer NanNew(int) NAN_INLINE v8::Localv8::Integer NanNew(int val) { ^ ../../nan/nan.h:584:37: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘int’ ../../nan/nan.h:588:36: note: v8::Localv8::Uint32 NanNew(unsigned int) NAN_INLINE v8::Localv8::Uint32 NanNew(unsigned int val) { ^ ../../nan/nan.h:588:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘unsigned int’ ../../nan/nan.h:592:37: note: v8::Localv8::Boolean NanNew(bool) NAN_INLINE v8::Localv8::Boolean NanNew(bool val) { ^ ../../nan/nan.h:592:37: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘bool’ ../../nan/nan.h:596:36: note: v8::Localv8::String NanNew(v8::String::ExternalStringResource*) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:596:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘v8::String::ExternalStringResource*’ ../../nan/nan.h: In function ‘v8::Localv8::Primitive NanNull()’: ../../nan/nan.h:637:69: error: no matching function for call to ‘NanNew(v8::Localv8::Primitive)’ return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:637:69: note: candidates are: return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:307:27: note: template<class T> v8::Local<T> NanNew() NAN_INLINE v8::Local<T> NanNew() { ^ ../../nan/nan.h:307:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 0 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:312:27: note: template<class T, class P> v8::Local<T> NanNew(P) NAN_INLINE v8::Local<T> NanNew(P arg1) { ^ ../../nan/nan.h:312:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: couldn't deduce template parameter ‘T’ return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:325:46: note: template<class T> v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int) NAN_INLINE v8::Localv8::FunctionTemplate NanNew( ^ ../../nan/nan.h:325:46: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: cannot convert ‘v8::Null(v8::Isolate::GetCurrent())’ (type ‘v8::Localv8::Primitive’) to type ‘NanFunctionCallback {aka void (*)(const v8::FunctionCallbackInfov8::Value&)}’ return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:338:27: note: template<class T> v8::Local<T> NanNew(const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) NAN_INLINE v8::Local<T> NanNew(const v8::Persistent<T> &arg1) { ^ ../../nan/nan.h:338:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: ‘v8::Localv8::Primitive’ is not derived from ‘const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’ return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:343:27: note: template<class T, class P> v8::Local<T> NanNew(P, int) NAN_INLINE v8::Local<T> NanNew(P arg1, int arg2) { ^ ../../nan/nan.h:343:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:371:27: note: template<class T, class P> v8::Local<T> NanNew(P, const v8::ScriptOrigin&) NAN_INLINE v8::Local<T> NanNew( ^ ../../nan/nan.h:371:27: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:421:36: note: template<class T> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:421:36: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:433:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:433:36: note: template argument deduction/substitution failed: ../../nan/nan.h:637:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::Null(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:564:36: note: v8::Localv8::String NanNew(const char*, int) NAN_INLINE v8::Localv8::String NanNew(const char* arg, int length = -1) { ^ ../../nan/nan.h:564:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const char*’ ../../nan/nan.h:568:36: note: v8::Localv8::String NanNew(const uint8_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:568:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const uint8_t* {aka const unsigned char*}’ ../../nan/nan.h:574:36: note: v8::Localv8::String NanNew(const uint16_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:574:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘const uint16_t* {aka const short unsigned int*}’ ../../nan/nan.h:580:36: note: v8::Localv8::Number NanNew(double) NAN_INLINE v8::Localv8::Number NanNew(double val) { ^ ../../nan/nan.h:580:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘double’ ../../nan/nan.h:584:37: note: v8::Localv8::Integer NanNew(int) NAN_INLINE v8::Localv8::Integer NanNew(int val) { ^ ../../nan/nan.h:584:37: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘int’ ../../nan/nan.h:588:36: note: v8::Localv8::Uint32 NanNew(unsigned int) NAN_INLINE v8::Localv8::Uint32 NanNew(unsigned int val) { ^ ../../nan/nan.h:588:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘unsigned int’ ../../nan/nan.h:592:37: note: v8::Localv8::Boolean NanNew(bool) NAN_INLINE v8::Localv8::Boolean NanNew(bool val) { ^ ../../nan/nan.h:592:37: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘bool’ ../../nan/nan.h:596:36: note: v8::Localv8::String NanNew(v8::String::ExternalStringResource*) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:596:36: note: no known conversion for argument 1 from ‘v8::Localv8::Primitive’ to ‘v8::String::ExternalStringResource*’ ../../nan/nan.h: In function ‘v8::Localv8::Boolean NanTrue()’: ../../nan/nan.h:642:69: error: no matching function for call to ‘NanNew(v8::Localv8::Boolean)’ return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:642:69: note: candidates are: return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:307:27: note: template<class T> v8::Local<T> NanNew() NAN_INLINE v8::Local<T> NanNew() { ^ ../../nan/nan.h:307:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 0 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:312:27: note: template<class T, class P> v8::Local<T> NanNew(P) NAN_INLINE v8::Local<T> NanNew(P arg1) { ^ ../../nan/nan.h:312:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: couldn't deduce template parameter ‘T’ return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:325:46: note: template<class T> v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int) NAN_INLINE v8::Localv8::FunctionTemplate NanNew( ^ ../../nan/nan.h:325:46: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: cannot convert ‘v8::True(v8::Isolate::GetCurrent())’ (type ‘v8::Localv8::Boolean’) to type ‘NanFunctionCallback {aka void (*)(const v8::FunctionCallbackInfov8::Value&)}’ return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:338:27: note: template<class T> v8::Local<T> NanNew(const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) NAN_INLINE v8::Local<T> NanNew(const v8::Persistent<T> &arg1) { ^ ../../nan/nan.h:338:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: ‘v8::Localv8::Boolean’ is not derived from ‘const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’ return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:343:27: note: template<class T, class P> v8::Local<T> NanNew(P, int) NAN_INLINE v8::Local<T> NanNew(P arg1, int arg2) { ^ ../../nan/nan.h:343:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:371:27: note: template<class T, class P> v8::Local<T> NanNew(P, const v8::ScriptOrigin&) NAN_INLINE v8::Local<T> NanNew( ^ ../../nan/nan.h:371:27: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:421:36: note: template<class T> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:421:36: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:433:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:433:36: note: template argument deduction/substitution failed: ../../nan/nan.h:642:69: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:564:36: note: v8::Localv8::String NanNew(const char*, int) NAN_INLINE v8::Localv8::String NanNew(const char* arg, int length = -1) { ^ ../../nan/nan.h:564:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const char*’ ../../nan/nan.h:568:36: note: v8::Localv8::String NanNew(const uint8_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:568:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const uint8_t* {aka const unsigned char*}’ ../../nan/nan.h:574:36: note: v8::Localv8::String NanNew(const uint16_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:574:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const uint16_t* {aka const short unsigned int*}’ ../../nan/nan.h:580:36: note: v8::Localv8::Number NanNew(double) NAN_INLINE v8::Localv8::Number NanNew(double val) { ^ ../../nan/nan.h:580:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘double’ ../../nan/nan.h:584:37: note: v8::Localv8::Integer NanNew(int) NAN_INLINE v8::Localv8::Integer NanNew(int val) { ^ ../../nan/nan.h:584:37: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘int’ ../../nan/nan.h:588:36: note: v8::Localv8::Uint32 NanNew(unsigned int) NAN_INLINE v8::Localv8::Uint32 NanNew(unsigned int val) { ^ ../../nan/nan.h:588:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘unsigned int’ ../../nan/nan.h:592:37: note: v8::Localv8::Boolean NanNew(bool) NAN_INLINE v8::Localv8::Boolean NanNew(bool val) { ^ ../../nan/nan.h:592:37: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘bool’ ../../nan/nan.h:596:36: note: v8::Localv8::String NanNew(v8::String::ExternalStringResource*) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:596:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘v8::String::ExternalStringResource*’ ../../nan/nan.h: In function ‘v8::Localv8::Boolean NanFalse()’: ../../nan/nan.h:647:70: error: no matching function for call to ‘NanNew(v8::Localv8::Boolean)’ return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:647:70: note: candidates are: return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:307:27: note: template<class T> v8::Local<T> NanNew() NAN_INLINE v8::Local<T> NanNew() { ^ ../../nan/nan.h:307:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 0 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:312:27: note: template<class T, class P> v8::Local<T> NanNew(P) NAN_INLINE v8::Local<T> NanNew(P arg1) { ^ ../../nan/nan.h:312:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: couldn't deduce template parameter ‘T’ return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:325:46: note: template<class T> v8::Localv8::FunctionTemplate NanNew(NanFunctionCallback, int) NAN_INLINE v8::Localv8::FunctionTemplate NanNew( ^ ../../nan/nan.h:325:46: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: cannot convert ‘v8::False(v8::Isolate::GetCurrent())’ (type ‘v8::Localv8::Boolean’) to type ‘NanFunctionCallback {aka void (*)(const v8::FunctionCallbackInfov8::Value&)}’ return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:338:27: note: template<class T> v8::Local<T> NanNew(const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) NAN_INLINE v8::Local<T> NanNew(const v8::Persistent<T> &arg1) { ^ ../../nan/nan.h:338:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: ‘v8::Localv8::Boolean’ is not derived from ‘const v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >’ return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:343:27: note: template<class T, class P> v8::Local<T> NanNew(P, int) NAN_INLINE v8::Local<T> NanNew(P arg1, int arg2) { ^ ../../nan/nan.h:343:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:371:27: note: template<class T, class P> v8::Local<T> NanNew(P, const v8::ScriptOrigin&) NAN_INLINE v8::Local<T> NanNew( ^ ../../nan/nan.h:371:27: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:421:36: note: template<class T> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:421:36: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:433:36: note: template<class T, class P> v8::Localv8::RegExp NanNew(v8::Localv8::String, v8::RegExp::Flags) NAN_INLINE v8::Localv8::RegExp NanNew( ^ ../../nan/nan.h:433:36: note: template argument deduction/substitution failed: ../../nan/nan.h:647:70: note: candidate expects 2 arguments, 1 provided return NanEscapeScope(NanNew(v8::False(v8::Isolate::GetCurrent()))); ^ ../../nan/nan.h:620:65: note: in definition of macro ‘NanEscapeScope’
define NanEscapeScope(val) scope.Escape(_NanEscapeScopeHelper(val))
^../../nan/nan.h:564:36: note: v8::Localv8::String NanNew(const char*, int) NAN_INLINE v8::Localv8::String NanNew(const char* arg, int length = -1) { ^ ../../nan/nan.h:564:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const char*’ ../../nan/nan.h:568:36: note: v8::Localv8::String NanNew(const uint8_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:568:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const uint8_t* {aka const unsigned char*}’ ../../nan/nan.h:574:36: note: v8::Localv8::String NanNew(const uint16_t*, int) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:574:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘const uint16_t* {aka const short unsigned int*}’ ../../nan/nan.h:580:36: note: v8::Localv8::Number NanNew(double) NAN_INLINE v8::Localv8::Number NanNew(double val) { ^ ../../nan/nan.h:580:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘double’ ../../nan/nan.h:584:37: note: v8::Localv8::Integer NanNew(int) NAN_INLINE v8::Localv8::Integer NanNew(int val) { ^ ../../nan/nan.h:584:37: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘int’ ../../nan/nan.h:588:36: note: v8::Localv8::Uint32 NanNew(unsigned int) NAN_INLINE v8::Localv8::Uint32 NanNew(unsigned int val) { ^ ../../nan/nan.h:588:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘unsigned int’ ../../nan/nan.h:592:37: note: v8::Localv8::Boolean NanNew(bool) NAN_INLINE v8::Localv8::Boolean NanNew(bool val) { ^ ../../nan/nan.h:592:37: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘bool’ ../../nan/nan.h:596:36: note: v8::Localv8::String NanNew(v8::String::ExternalStringResource*) NAN_INLINE v8::Localv8::String NanNew( ^ ../../nan/nan.h:596:36: note: no known conversion for argument 1 from ‘v8::Localv8::Boolean’ to ‘v8::String::ExternalStringResource*’ ../../nan/nan.h: At global scope: ../../nan/nan.h:655:11: error: variable or field ‘NanSetTemplate’ declared void v8::Handlev8::Template templ ^ ../../nan/nan.h:655:7: error: ‘Handle’ is not a member of ‘v8’ v8::Handlev8::Template templ ^ ../../nan/nan.h:655:30: error: expected primary-expression before ‘>’ token v8::Handlev8::Template templ ^ ../../nan/nan.h:655:32: error: ‘templ’ was not declared in this scope v8::Handlev8::Template templ ^ ../../nan/nan.h:656:7: error: expec
My main project is using 1.x nan and "*" just follows the main project and it doesn't have its own node_modules folder.
Can you try version 1.0.5?
1.0.5 compiles now. npm list: ├─┬ [email protected] │ └── [email protected]