Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of C++ compile errors during install #9

Open
mo opened this issue Jul 8, 2017 · 0 comments
Open

Lots of C++ compile errors during install #9

mo opened this issue Jul 8, 2017 · 0 comments

Comments

@mo
Copy link

mo commented Jul 8, 2017

CXX(target) Release/obj.target/leveldown/src/batch.o
In file included from ../src/batch.cc:5:0:
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h: In function ‘void NanThrowError(const char*)’:
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h:209:7: error: ‘ThrowException’ is not a member of ‘v8’
v8::ThrowException(fun(v8::String::New(errmsg)));
^
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h:213:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h:209:30: error: ‘New’ is not a member of ‘v8::String’
v8::ThrowException(fun(v8::String::New(errmsg)));
^
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h:213:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
_NAN_THROW_ERROR(v8::Exception::Error, errmsg);
^
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h: In function ‘void NanThrowError(v8::Handlev8::Value)’:
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h:218:5: error: ‘ThrowException’ is not a member of ‘v8’
v8::ThrowException(error);
^
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h: In function ‘void NanThrowError(const char*, int)’:
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h:222:53: error: ‘New’ is not a member of ‘v8::String’
v8::Localv8::Value err = v8::Exception::Error(v8::String::New(msg));
^
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h:224:14: error: ‘New’ is not a member of ‘v8::String’
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
^
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h:224:65: error: no matching function for call to ‘v8::Int32::New(const int&)’
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
^
In file included from /home/molsson/.node-gyp/7.7.2/include/node/node.h:42:0,
from ../src/batch.cc:1:
/home/molsson/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate: static v8::Localv8::Integer v8::Integer::New(v8::Isolate*, int32_t)
static Local New(Isolate* isolate, int32_t value);
^
/home/molsson/.node-gyp/7.7.2/include/node/v8.h:2770:25: note: candidate expects 2 arguments, 1 provided
In file included from ../src/batch.cc:5:0:
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h: In function ‘void NanThrowTypeError(const char*)’:
/home/molsson/opt/node-v7.7.2-linux-x64/lib/node_modules/security-adventure/node_modules/nan/nan.h:209:7: error: ‘ThrowException’ is not a member of ‘v8’
v8::ThrowException(fun(v8::String::New(errmsg))); \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant