> netcdf4@0.4.1 install /app/node_modules/netcdf4 > node-gyp rebuild make: Entering directory '/app/node_modules/netcdf4/build' CXX(target) Release/obj.target/netcdf4/src/Group.o In file included from ../src/Group.cpp:6:0: ../src/netcdf4js.h: In function 'void netcdf4js::throw_netcdf_error(v8::Isolate*, int)': ../src/netcdf4js.h:11:106: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, nc_strerror(retval)))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::Init(v8::Local)': ../src/Group.cpp:21:63: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] tpl->SetClassName(v8::String::NewFromUtf8(isolate, "Group")); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:28:79: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] tpl->InstanceTemplate()->SetAccessor(v8::String::NewFromUtf8(isolate, "id"), Group::GetId); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:29:86: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] tpl->InstanceTemplate()->SetAccessor(v8::String::NewFromUtf8(isolate, "variables"), Group::GetVariables); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:30:87: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] tpl->InstanceTemplate()->SetAccessor(v8::String::NewFromUtf8(isolate, "dimensions"), Group::GetDimensions); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:31:86: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] tpl->InstanceTemplate()->SetAccessor(v8::String::NewFromUtf8(isolate, "unlimited"), Group::GetUnlimited); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:32:87: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] tpl->InstanceTemplate()->SetAccessor(v8::String::NewFromUtf8(isolate, "attributes"), Group::GetAttributes); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:33:86: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] tpl->InstanceTemplate()->SetAccessor(v8::String::NewFromUtf8(isolate, "subgroups"), Group::GetSubgroups); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:34:81: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] tpl->InstanceTemplate()->SetAccessor(v8::String::NewFromUtf8(isolate, "name"), Group::GetName); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:35:85: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] tpl->InstanceTemplate()->SetAccessor(v8::String::NewFromUtf8(isolate, "fullname"), Group::GetFullname); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:36:49: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' constructor.Reset(isolate, tpl->GetFunction()); ^ In file included from /root/.node-gyp/12.2.0/include/node/node.h:63:0, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:5947:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /root/.node-gyp/12.2.0/include/node/v8.h:5947:46: note: candidate expects 1 argument, 0 provided ../src/Group.cpp: In static member function 'static void netcdf4js::Group::AddAttribute(const v8::FunctionCallbackInfo&)': ../src/Group.cpp:52:118: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, "Wrong number of arguments"))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:62:114: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, "Unknown variable type"))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::AddSubgroup(const v8::FunctionCallbackInfo&)': ../src/Group.cpp:79:118: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, "Wrong number of arguments"))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::AddDimension(const v8::FunctionCallbackInfo&)': ../src/Group.cpp:102:118: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, "Wrong number of arguments"))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:115:125: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, "Expecting a positive integer"))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:118:36: error: no matching function for call to 'v8::Value::Uint32Value()' len = args[1]->Uint32Value(); ^ In file included from /root/.node-gyp/12.2.0/include/node/node.h:63:0, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2567:41: note: candidate: v8::Maybe v8::Value::Uint32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~ /root/.node-gyp/12.2.0/include/node/v8.h:2567:41: note: candidate expects 1 argument, 0 provided ../src/Group.cpp: In static member function 'static void netcdf4js::Group::AddVariable(const v8::FunctionCallbackInfo&)': ../src/Group.cpp:140:118: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, "Wrong number of arguments"))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:150:114: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, "Unknown variable type"))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:154:118: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, "Unsupported variable type"))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:158:111: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] isolate->ThrowException(v8::Exception::TypeError(v8::String::NewFromUtf8(isolate, "Expecting an array"))); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:161:53: error: no matching function for call to 'v8::Value::ToObject()' v8::Local array = args[2]->ToObject(); ^ In file included from /root/.node-gyp/12.2.0/include/node/node.h:63:0, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /root/.node-gyp/12.2.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2546:35: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const Local ToObject(Isolate* isolate) const); ^ /root/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /root/.node-gyp/12.2.0/include/node/v8.h:2546:35: note: candidate expects 1 argument, 0 provided Local ToObject(Isolate* isolate) const); ^ /root/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:162:72: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] size_t ndims = array->Get(v8::String::NewFromUtf8(isolate, "length"))->Uint32Value(); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:162:73: warning: 'v8::Local v8::Object::Get(v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] size_t ndims = array->Get(v8::String::NewFromUtf8(isolate, "length"))->Uint32Value(); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:3412:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key)); ^ /root/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:162:88: error: no matching function for call to 'v8::Value::Uint32Value()' size_t ndims = array->Get(v8::String::NewFromUtf8(isolate, "length"))->Uint32Value(); ^ In file included from /root/.node-gyp/12.2.0/include/node/node.h:63:0, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2567:41: note: candidate: v8::Maybe v8::Value::Uint32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~ /root/.node-gyp/12.2.0/include/node/v8.h:2567:41: note: candidate expects 1 argument, 0 provided ../src/Group.cpp:165:33: warning: 'v8::Local v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations] dimids[i] = array->Get(i)->Int32Value(); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:3416:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index)); ^ /root/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:165:47: error: no matching function for call to 'v8::Value::Int32Value()' dimids[i] = array->Get(i)->Int32Value(); ^ In file included from /root/.node-gyp/12.2.0/include/node/node.h:63:0, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2569:40: note: candidate: v8::Maybe v8::Value::Int32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /root/.node-gyp/12.2.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided ../src/Group.cpp: In static member function 'static void netcdf4js::Group::GetVariables(v8::Local, const v8::PropertyCallbackInfo&)': ../src/Group.cpp:212:62: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), v->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:212:76: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), v->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /root/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::GetDimensions(v8::Local, const v8::PropertyCallbackInfo&)': ../src/Group.cpp:243:62: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), d->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:243:76: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), d->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /root/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::GetUnlimited(v8::Local, const v8::PropertyCallbackInfo&)': ../src/Group.cpp:274:62: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), d->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:274:76: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), d->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /root/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::GetAttributes(v8::Local, const v8::PropertyCallbackInfo&)': ../src/Group.cpp:302:58: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), a->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:302:72: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), a->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /root/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::GetSubgroups(v8::Local, const v8::PropertyCallbackInfo&)': ../src/Group.cpp:328:62: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), g->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp:328:76: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] result->Set(v8::String::NewFromUtf8(isolate, name), g->handle()); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /root/.node-gyp/12.2.0/include/node/v8config.h:322:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::GetName(v8::Local, const v8::PropertyCallbackInfo&)': ../src/Group.cpp:343:72: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] info.GetReturnValue().Set(v8::String::NewFromUtf8(isolate, name)); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::GetFullname(v8::Local, const v8::PropertyCallbackInfo&)': ../src/Group.cpp:364:68: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] info.GetReturnValue().Set(v8::String::NewFromUtf8(isolate, name)); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/Group.cpp: In static member function 'static void netcdf4js::Group::Inspect(const v8::FunctionCallbackInfo&)': ../src/Group.cpp:370:80: warning: 'static v8::Local v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations] args.GetReturnValue().Set(v8::String::NewFromUtf8(isolate, "[object Group]")); ^ In file included from /root/.node-gyp/12.2.0/include/node/v8-internal.h:14:0, from /root/.node-gyp/12.2.0/include/node/v8.h:25, from /root/.node-gyp/12.2.0/include/node/node.h:63, from ../src/Group.h:4, from ../src/Group.cpp:1: /root/.node-gyp/12.2.0/include/node/v8.h:2892:21: note: declared here Local NewFromUtf8(Isolate* isolate, const char* data, ^ /root/.node-gyp/12.2.0/include/node/v8config.h:307:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ netcdf4.target.mk:110: recipe for target 'Release/obj.target/netcdf4/src/Group.o' failed make: Leaving directory '/app/node_modules/netcdf4/build' make: *** [Release/obj.target/netcdf4/src/Group.o] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:196:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:12) gyp ERR! System Linux 4.9.0-9-amd64 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /app/node_modules/netcdf4 gyp ERR! node -v v12.2.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN radiation-api@0.0.1 No license field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! netcdf4@0.4.1 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the netcdf4@0.4.1 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! /root/.npm/_logs/2019-05-11T16_07_27_555Z-debug.log The command '/bin/sh -c npm install' returned a non-zero code: 1