Skip to content

nodejs v10.x build error#30

Open
roman-putintsev wants to merge 1 commit intodavidtsai:masterfrom
roman-putintsev:master
Open

nodejs v10.x build error#30
roman-putintsev wants to merge 1 commit intodavidtsai:masterfrom
roman-putintsev:master

Conversation

@roman-putintsev
Copy link
Copy Markdown

Build error on current nodejs version:

In file included from ../node_modules/nan/nan.h:190:0,
from ../src/node_mmdb.h:6,
from ../src/node_mmdb.cpp:2:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
return obj->ForceSet(GetCurrentContext(), key, value, attribs);

nodejs -v: 10.3.0
npm -v: 6.1.0

For fix it I just updated version of dependency nan to 2.10.0. After it npm audit found 3 vulnerabilities (1 low, 1 high, 1 critical) and fix it with --force

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

Successfully merging this pull request may close these issues.

1 participant