Closed wesley9946 closed 4 years ago
That dependency needs the make
command to finish its install process. I ran into a similar error and had to do sudo apt-get install build-essential g++
so that it can run make
I have the latest versions of build-essential and g++ already, but apparently NodeJS 10's node-gyp rebuild
doesn't work right for some weird reason, but it did work with NodeJS 8 tho
Hello,
I had the same kind of error. I used NVM (https://github.com/nvm-sh/nvm) to install the 8.0 version of nodejs and then use it and it's works now.
Off topic: @wesley9946
Click this:
Thanks a lot!
On topic:
How would I apply this workaround if I'm in a docker container? (Specifically running hexparrot/mineos:node-wily
)
EDIT: Figured out that :node-wily
is not a supported tag any more. Switched it out for mineos:latest
and now everything seems to work more than before. Sorry for the disturbance and thanks for the great product you've given with your volunteered time.
Hi there,
When I try to update or reset the WebUI, I get the following stuff (apparently it installs nodejs from Debian's repos, and doesn't install npm right away)
`> posix@4.1.2 install /usr/games/minecraft/node_modules/posix
make: Map '/usr/games/minecraft/node_modules/posix/build' wordt binnengegaan CXX(target) Release/obj.target/posix/src/posix.o In file included from ../src/posix.cc:1: ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWor ker)’: ../node_modules/nan/nan.h:2167:62: warning: cast between incompatible function t ypes from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_afterwork cb’ {aka ‘void ()(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast(AsyncExecuteComplete)
^
../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodegetpgid(Nan::NAN METHOD_ARGS_TYPE)’:
../src/posix.cc:48:100: warning: ‘int64_t v8::Value::IntegerValue() const’ is de precated: Use maybe version [-Wdeprecated-declarations]
Set(Nan::New(static_cast(getpgid(info[0]->IntegerValue()))));
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26, from /root/.node-gyp/10.15.2/include/node/node.h:63, from ../node_modules/nan/nan.h:51, from ../src/posix.cc:1: /root/.node-gyp/10.15.2/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value dir_path(info[0]->ToString());
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/posix.cc:1:
/root/.node-gyp/10.15.2/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local obj));
^)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value rlimit_name(info[0]->ToString());
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/posix.cc:1:
/root/.node-gyp/10.15.2/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local obj));
^)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value rlimit_name(info[0]->ToString());
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/posix.cc:1:
/root/.node-gyp/10.15.2/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local obj));
^ v8::Value::ToObject() co nst’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local
~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodesetpgid(Nan::NAN METHOD_ARGS_TYPE)’: ../src/posix.cc:66:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is dep recated: Use maybe version [-Wdeprecated-declarations] if (setpgid(info[0]->IntegerValue(), info[1]->IntegerValue()) < 0) { ^ In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26, from /root/.node-gyp/10.15.2/include/node/node.h:63, from ../node_modules/nan/nan.h:51, from ../src/posix.cc:1: /root/.node-gyp/10.15.2/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc:66:64: warning: ‘int64_t v8::Value::IntegerValue() const’ is dep recated: Use maybe version [-Wdeprecated-declarations] if (setpgid(info[0]->IntegerValue(), info[1]->IntegerValue()) < 0) { ^ In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26, from /root/.node-gyp/10.15.2/include/node/node.h:63, from ../node_modules/nan/nan.h:51, from ../src/posix.cc:1: /root/.node-gyp/10.15.2/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_chroot(Nan::NAN_M ETHOD_ARGS_TYPE)’: ../src/posix.cc:121:51: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_getrlimit(Nan::NA N_METHOD_ARGS_TYPE)’: ../src/posix.cc:177:54: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_setrlimit(Nan::NA N_METHOD_ARGS_TYPE)’: ../src/posix.cc:217:54: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc:230:48: warning: ‘v8::LocalIn file included from /root/.node-gyp/10.15.2/include/node/v8.h:26, from /root/.node-gyp/10.15.2/include/node/node.h:63, from ../node_modules/nan/nan.h:51, from ../src/posix.cc:1: /root/.node-gyp/10.15.2/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ v8::Value::ToObject() co nst’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local obj = info[0]->ToObject();
^
In file included from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/posix.cc:1:
/root/.node-gyp/10.15.2/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_sethostname(Nan:: NAN_METHOD_ARGS_TYPE)’:
../src/posix.cc:591:34: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value str(info[0]);
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/posix.cc:1:
/root/.node-gyp/10.15.2/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local obj));
^)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value str(info[0]);
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/posix.cc:1:
/root/.node-gyp/10.15.2/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local obj));
^)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value str(info[0]);
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/posix.cc:1:
/root/.node-gyp/10.15.2/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local obj));
^ v8::Value::ToObject() co nst’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local obj = info[0]->ToObject();
^
In file included from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../node_modules/nan/nan.h:51,
from ../src/posix.cc:1:
/root/.node-gyp/10.15.2/include/node/v8.h:10046:15: note: declared here
Local Value::ToObject() const {
^~~~~
In file included from ../node_modules/nan/nan.h:51,
from ../src/posix.cc:1:
../src/posix.cc: At global scope:
/root/.node-gyp/10.15.2/include/node/node.h:570:43: warning: cast between incomp atible function types from ‘void ( )(v8::Handle)’ {aka ‘void ()(v8: :Local)’} to ‘node::addon_register_func’ {aka ‘void ( )(v8::Local, v8::Local, void)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/root/.node-gyp/10.15.2/include/node/node.h:604:3: note: in expansion of macro NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^::SetWeak(P , typename v8::WeakCallbackInfo
~~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_update_syslog_con stants(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/posix.cc:513:43: warning: ‘v8::Local~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_swapon(Nan::NAN_M ETHOD_ARGS_TYPE)’: ../src/posix.cc:618:34: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc:620:49: warning: ‘int64_t v8::Value::IntegerValue() const’ is de precated: Use maybe version [-Wdeprecated-declarations] int rc = swapon(str, info[1]->IntegerValue()); ^ In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26, from /root/.node-gyp/10.15.2/include/node/node.h:63, from ../node_modules/nan/nan.h:51, from ../src/posix.cc:1: /root/.node-gyp/10.15.2/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE nodeswapoff(Nan::NAN METHOD_ARGS_TYPE)’: ../src/posix.cc:639:34: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/posix.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE node_update_swap_const ants(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/posix.cc:660:43: warning: ‘v8::Local~~~~ ../src/posix.cc:709:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(posix, init); ^~~In file included from /root/.node-gyp/10.15.2/include/node/node.h:63, from ../node_modules/nan/nan.h:51, from ../src/posix.cc:1: /root/.node-gyp/10.15.2/include/node/v8.h: In instantiation of ‘void v8::Persist entBase::Callback, v8::WeakCall backType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackI nfo
::Callback = void ()(const v8::WeakCallbackInfo&)]’:
/root/.node-gyp/10.15.2/include/node/node_object_wrap.h:85:78: required from h ere
/root/.node-gyp/10.15.2/include/node/v8.h:9502:16: warning: cast between incompa tible function types from ‘v8::WeakCallbackInfo::Callback’ {ak a ‘void ( )(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
reinterpret_cast(callback), type);
^::SetWeak(P , typename v8::WeakCallbackInfo
~~~~~~~/root/.node-gyp/10.15.2/include/node/v8.h: In instantiation of ‘void v8::Persist entBase::Callback, v8::WeakCall backType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackIn fo
::Callback = void ()(const v8::WeakCallbackInfo&)]’:
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/root/.node-gyp/10.15.2/include/node/v8.h:9502:16: warning: cast between incompa tible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void ( )(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘v oid (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
SOLINK_MODULE(target) Release/obj.target/posix.node
COPY Release/posix.node
make: Map '/usr/games/minecraft/node_modules/posix/build' wordt verlaten
make: Map '/usr/games/minecraft/node_modules/userid/build' wordt binnengegaan CXX(target) Release/obj.target/userid/src/userid.o In file included from ../../nan/nan.h:190, from ../src/userid.cc:11: ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Lo cal, v8::Local, v8::Local, v8::PropertyAttribu te)’:
../../nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member name d ‘ForceSet’
return obj->ForceSet(GetCurrentContext(), key, value, attribs);
^ Nan::MakeCallback(v8::Local<v 8::Object>, v8::Local, int, v8::Local)’:
../../nan/nan.h:817:60: warning: ‘v8::Local node::MakeCallback(v8::Is olate , v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati ons]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/node.h:177:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^ node::MakeCallback(v8::Is olate , v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati ons]
v8::Isolate::GetCurrent(), target, func, argc, argv);
^
In file included from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/node.h:177:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^ Nan::MakeCallback(v8::Local<v 8::Object>, v8::Local, int, v8::Local )’:
../../nan/nan.h:831:62: warning: ‘v8::Local node::MakeCallback(v8::Is olate, v8::Local, v8::Local, int, v8::Local )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration s]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/node.h:170:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^ node::MakeCallback(v8::Is olate, v8::Local, v8::Local, int, v8::Local )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration s]
v8::Isolate::GetCurrent(), target, symbol, argc, argv);
^
In file included from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/node.h:170:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^ Nan::MakeCallback(v8::Local<v 8::Object>, const char, int, v8::Local )’:
../../nan/nan.h:845:62: warning: ‘v8::Local node::MakeCallback(v8::Is olate, v8::Local, const char , int, v8::Local)’ is depr ecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/node.h:163:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^ node::MakeCallback(v8::Is olate , v8::Local, const char, int, v8::Local )’ is depr ecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
v8::Isolate::GetCurrent(), target, method, argc, argv);
^
In file included from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/node.h:163:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^ Nan::Callback::Call (v 8::Isolate, v8::Local, int, v8::Local ) const’:
../../nan/nan.h:1463:5: warning: ‘v8::Local node::MakeCallback(v8::Is olate, v8::Local, v8::Local, int, v8::Local )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati ons]
));
^
In file included from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/node.h:177:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^ node::MakeCallback(v8::Is olate, v8::Local, v8::Local, int, v8::Local )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarati ons]
));
^
In file included from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/node.h:177:50: note: declared here
NODE_EXTERN v8::Local MakeCallback(
^(AsyncExecuteComplete)
^
../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE GroupName(Nan::NAN_ME THOD_ARGS_TYPE)’:
../src/userid.cc:47:42: warning: ‘int32_t v8::Value::Int32Value() const’ is depr ecated: Use maybe version [-Wdeprecated-declarations]
group = getgrgid(info[0]->Int32Value());
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/v8.h:2478:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value utfname(info[0]->ToString());
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local obj));
^)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value utfname(info[0]->ToString());
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local obj));
^)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value utfname(info[0]->ToString());
^
In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26,
from /root/.node-gyp/10.15.2/include/node/node.h:63,
from ../../nan/nan.h:47,
from ../src/userid.cc:11:
/root/.node-gyp/10.15.2/include/node/v8.h:2892:28: note: declared here
explicit Utf8Value(Local obj));
^ )(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {a ka ‘void ()(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void ( )(v8::Local, v8::Local, void)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/root/.node-gyp/10.15.2/include/node/node.h:604:3: note: in expansion of macro NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^::SetWeak(P , typename v8::WeakCallbackInfo
~~~ In file included from ../src/userid.cc:11: ../../nan/nan.h: In function ‘v8::Local~~~ /root/.node-gyp/10.15.2/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/userid.cc:11: ../../nan/nan.h:817:60: warning: ‘v8::Local~~~ /root/.node-gyp/10.15.2/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/userid.cc:11: ../../nan/nan.h: In function ‘v8::Local~~~ /root/.node-gyp/10.15.2/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/userid.cc:11: ../../nan/nan.h:831:62: warning: ‘v8::Local~~~ /root/.node-gyp/10.15.2/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/userid.cc:11: ../../nan/nan.h: In function ‘v8::Local~~~ /root/.node-gyp/10.15.2/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/userid.cc:11: ../../nan/nan.h:845:62: warning: ‘v8::Local~~~ /root/.node-gyp/10.15.2/include/node/node.h:91:42: note: in definition of macro ‘NODEDEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/userid.cc:11: ../../nan/nan.h: In member function ‘v8::Local~~~ /root/.node-gyp/10.15.2/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/userid.cc:11: ../../nan/nan.h:1463:5: warning: ‘v8::Local~~~ /root/.node-gyp/10.15.2/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/userid.cc:11: ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker)’: ../../nan/nan.h:1706:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka void ()(uv_work_s, int)’} [-Wcast-function-type] , reinterpret_cast~~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Gids(Nan::NANMETHOD ARGS_TYPE)’: ../src/userid.cc:75:48: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Gid(Nan::NAN_METHOD_A RGS_TYPE)’: ../src/userid.cc:118:50: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE UserName(Nan::NAN_MET HOD_ARGS_TYPE)’: ../src/userid.cc:137:41: warning: ‘int32_t v8::Value::Int32Value() const’ is dep recated: Use maybe version [-Wdeprecated-declarations] user = getpwuid(info[0]->Int32Value()); ^ In file included from /root/.node-gyp/10.15.2/include/node/v8.h:26, from /root/.node-gyp/10.15.2/include/node/node.h:63, from ../../nan/nan.h:47, from ../src/userid.cc:11: /root/.node-gyp/10.15.2/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ ../src/userid.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Uid(Nan::NAN_METHOD_A RGS_TYPE)’: ../src/userid.cc:155:50: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local~~~~ /root/.node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of ma cro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../../nan/nan.h:47, from ../src/userid.cc:11: ../src/userid.cc: At global scope: /root/.node-gyp/10.15.2/include/node/node.h:570:43: warning: cast between incomp atible function types from ‘void (~~~~ ../src/userid.cc:174:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(userid, Init); ^~~In file included from /root/.node-gyp/10.15.2/include/node/node.h:63, from ../../nan/nan.h:47, from ../src/userid.cc:11: /root/.node-gyp/10.15.2/include/node/v8.h: In instantiation of ‘void v8::Persist entBase::Callback, v8::WeakCall backType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackI nfo
::Callback = void ()(const v8::WeakCallbackInfo&)]’:
/root/.node-gyp/10.15.2/include/node/node_object_wrap.h:85:78: required from h ere
/root/.node-gyp/10.15.2/include/node/v8.h:9502:16: warning: cast between incompa tible function types from ‘v8::WeakCallbackInfo::Callback’ {ak a ‘void ( )(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
reinterpret_cast(callback), type);
^::SetWeak(P , typename v8::WeakCallbackInfo
~~~~~~~/root/.node-gyp/10.15.2/include/node/v8.h: In instantiation of ‘void v8::Persist entBase::Callback, v8::WeakCall backType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackIn fo
::Callback = void ()(const v8::WeakCallbackInfo&)]’:
../../nan/nan_object_wrap.h:66:61: required from here
/root/.node-gyp/10.15.2/include/node/v8.h:9502:16: warning: cast between incompa tible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void ( )(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘v oid (*)(const v8::WeakCallbackInfo&)’} [-Wcast-function-type]
make: *** [userid.target.mk:103: Release/obj.target/userid/src/userid.o] Fout 1
make: Map '/usr/games/minecraft/node_modules/userid/build' wordt verlaten
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/nodemodules/npm/node modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:248:12) gyp ERR! System Linux 4.19.0-5-amd64 gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/n ode-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/games/minecraft/node_modules/userid gyp ERR! node -v v10.15.2 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! userid@0.3.1 install:node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the userid@0.3.1 install script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-07-17T05_33_51_153Z-debug.log Generating a RSA private key ...........+++++ ...................+++++ writing new private key to '.tmpkey.pem'
writing RSA key Restarted supervisord `
Any idea what it could be?