minosworld / minos

MINOS: Multimodal Indoor Simulator
MIT License
201 stars 33 forks source link

Errors after running npm install #108

Closed GreyCoder25 closed 5 years ago

GreyCoder25 commented 5 years ago

Hello, I wanted to try minos but after running npm install in the server directory got the next errors: failed: true, signal: null, cmd: 'npm install', timedOut: false, exitCode: 1 } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sstk@0.5.3 bootstrap: lerna bootstrap --hoist npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sstk@0.5.3 bootstrap 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/serhii/.npm/_logs/2018-10-11T21_10_27_100Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sstk@0.5.3 postinstall: npm run bootstrap npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sstk@0.5.3 postinstall 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/serhii/.npm/_logs/2018-10-11T21_10_28_990Z-debug.log

Full output was next:

sstk@0.5.3 preinstall /home/serhii/work/minos/minos/server/node_modules/sstk ./getdata.sh

Cloning into './metadata'... remote: Enumerating objects: 29, done. remote: Counting objects: 100% (29/29), done. remote: Compressing objects: 100% (18/18), done. remote: Total 94 (delta 23), reused 11 (delta 11), pack-reused 65 Unpacking objects: 100% (94/94), done. Checking connectivity... done.

node-expat@2.3.16 install /home/serhii/work/minos/minos/server/node_modules/node-expat node-gyp rebuild

make: Entering directory '/home/serhii/work/minos/minos/server/node_modules/node-expat/build' CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o ../deps/libexpat/lib/xmlparse.c: In function ‘gather_time_entropy’: ../deps/libexpat/lib/xmlparse.c:780:7: warning: variable ‘gettimeofday_res’ set but not used [-Wunused-but-set-variable] int gettimeofday_res; ^ CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o AR(target) Release/obj.target/deps/libexpat/libexpat.a COPY Release/libexpat.a CXX(target) Release/obj.target/node_expat/node-expat.o In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:203, from ../node-expat.cc:1: ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: ../../nan/nan_implementation_12_inl.h:337:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] return v8::StringObject::New(value).As(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:51, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:5053:37: note: declared here static Local New(Local value)); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ In file included from ../node-expat.cc:1:0: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local)’: ../../nan/nan.h:840:60: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../../nan/nan.h:51:0, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/node.h:176:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/serhii/.node-gyp/10.12.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^ In file included from ../node-expat.cc:1:0: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local)’: ../../nan/nan.h:855:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../../nan/nan.h:51:0, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/node.h:169:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/serhii/.node-gyp/10.12.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^ In file included from ../node-expat.cc:1:0: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, const char, int, v8::Local)’: ../../nan/nan.h:870:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, const char, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../../nan/nan.h:51:0, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/node.h:162:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/serhii/.node-gyp/10.12.0/include/node/node.h:91:42: note: in definition of macro ‘NODEDEPRECATED’ attribute((deprecated(message))) declarator ^ In file included from ../node-expat.cc:1:0: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: ../../nan/nan.h:916:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local string = from->ToString(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0, from ../../nan/nan.h:51, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^ In file included from ../node-expat.cc:1:0: ../../nan/nan.h:926:74: warning: ‘int v8::String::WriteUtf8(char, int, int, int) const’ is deprecated: Use Isolate* version [-Wdeprecated-declarations] length = string->WriteUtf8(str_, static_cast(len), 0, flags); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:51, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char buffer, int length = -1, ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8DEPRECATED’ declarator attribute((deprecated(message))) ^ In file included from ../node-expat.cc:1:0: ../../nan/nan.h: In member function ‘v8::Local Nan::Callback::Call(v8::Isolate, v8::Local, int, v8::Local) const’: ../../nan/nan.h:1484:5: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../../nan/nan.h:51:0, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/node.h:176:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/serhii/.node-gyp/10.12.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^ ../node-expat.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Parser::Parse(Nan::NAN_METHOD_ARGS_TYPE)’: ../node-expat.cc:98:33: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] str = info[0]->ToString(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0, from ../../nan/nan.h:51, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^ ../node-expat.cc:103:47: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local obj = info[0]->ToObject(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0, from ../../nan/nan.h:51, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^ ../node-expat.cc: In member function ‘bool Parser::parseString(v8::String&, int)’: ../node-expat.cc:124:30: warning: ‘int v8::String::Utf8Length() const’ is deprecated: Use Isolate version instead [-Wdeprecated-declarations] int len = str.Utf8Length(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:51, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2587:52: note: declared here V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/node_object_wrap.h:26:0, from ../../nan/nan.h:53, from ../node-expat.cc:1: ../node-expat.cc:130:55: warning: ‘int v8::String::WriteUtf8(char, int, int, int) const’ is deprecated: Use Isolate version [-Wdeprecated-declarations] assert(str.WriteUtf8(static_cast<char >(buf), len) == len); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:51, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char buffer, int length = -1, ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ ../node-expat.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Parser::SetUnknownEncoding(Nan::NAN_METHOD_ARGS_TYPE)’: ../node-expat.cc:470:59: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] parser->xmlEncodingInfo->map[i] = m->Int32Value(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:51, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ SOLINK_MODULE(target) Release/obj.target/node_expat.node COPY Release/node_expat.node make: Leaving directory '/home/serhii/work/minos/minos/server/node_modules/node-expat/build'

sstk@0.5.3 postinstall /home/serhii/work/minos/minos/server/node_modules/sstk npm run bootstrap

sstk@0.5.3 bootstrap /home/serhii/work/minos/minos/server/node_modules/sstk lerna bootstrap --hoist

lerna info version 2.11.0 lerna info Bootstrapping 4 packages lerna info lifecycle preinstall lerna info Installing external dependencies lerna info hoist Installing hoisted dependencies into root lerna info hoist Pruning hoisted dependencies lerna info hoist Finished pruning hoisted dependencies lerna ERR! execute callback with error lerna ERR! Error: Command failed: npm install lerna ERR! npm WARN deprecated filesaverjs@0.2.2: use 'file-saver' instead lerna ERR! npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade lerna ERR! npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) lerna ERR! npm WARN deprecated constantinople@3.0.2: Please update to at least constantinople 3.1.1 lerna ERR! npm WARN deprecated jscs-preset-wikimedia@1.0.1: Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941 lerna ERR! npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer lerna ERR! npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade lerna ERR! npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead. lerna ERR! npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. lerna ERR! npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue lerna ERR! npm WARN deprecated node-uuid@1.4.8: Use uuid module instead lerna ERR! npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue lerna ERR! npm WARN deprecated hoek@0.7.6: The major version is no longer supported. Please update to 4.x or newer lerna ERR! ../deps/libexpat/lib/xmlparse.c: In function ‘gather_time_entropy’: lerna ERR! ../deps/libexpat/lib/xmlparse.c:780:7: warning: variable ‘gettimeofday_res’ set but not used [-Wunused-but-set-variable] lerna ERR! int gettimeofday_res; lerna ERR! ^ lerna ERR! In file included from ../../nan/nan_new.h:189:0, lerna ERR! from ../../nan/nan.h:222, lerna ERR! from ../node-expat.cc:1: lerna ERR! ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: lerna ERR! ../../nan/nan_implementation_12_inl.h:340:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] lerna ERR! return v8::StringObject::New(value).As(); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, lerna ERR! from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, lerna ERR! from ../../nan/nan.h:52, lerna ERR! from ../node-expat.cc:1: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:5053:37: note: declared here lerna ERR! static Local New(Local value)); lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ lerna ERR! declarator attribute((deprecated(message))) lerna ERR! ^ lerna ERR! In file included from ../node-expat.cc:1:0: lerna ERR! ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: lerna ERR! ../../nan/nan.h:1066:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] lerna ERR! v8::Local string = from->ToString(); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0, lerna ERR! from ../../nan/nan.h:52, lerna ERR! from ../node-expat.cc:1: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:10040:15: note: declared here lerna ERR! Local Value::ToString() const { lerna ERR! ^ lerna ERR! In file included from ../node-expat.cc:1:0: lerna ERR! ../../nan/nan.h:1080:74: warning: ‘int v8::String::WriteUtf8(char, int, int, int) const’ is deprecated: Use Isolate version [-Wdeprecated-declarations] lerna ERR! length = string->WriteUtf8(str, static_cast(len), 0, flags); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, lerna ERR! from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, lerna ERR! from ../../nan/nan.h:52, lerna ERR! from ../node-expat.cc:1: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2659:21: note: declared here lerna ERR! int WriteUtf8(char buffer, int length = -1, lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ lerna ERR! declarator attribute((deprecated(message))) lerna ERR! ^ lerna ERR! ../node-expat.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Parser::Parse(Nan::NAN_METHOD_ARGS_TYPE)’: lerna ERR! ../node-expat.cc:98:33: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] lerna ERR! str = info[0]->ToString(); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0, lerna ERR! from ../../nan/nan.h:52, lerna ERR! from ../node-expat.cc:1: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:10040:15: note: declared here lerna ERR! Local Value::ToString() const { lerna ERR! ^ lerna ERR! ../node-expat.cc:103:47: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] lerna ERR! Local obj = info[0]->ToObject(); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0, lerna ERR! from ../../nan/nan.h:52, lerna ERR! from ../node-expat.cc:1: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:10046:15: note: declared here lerna ERR! Local Value::ToObject() const { lerna ERR! ^ lerna ERR! ../node-expat.cc: In member function ‘bool Parser::parseString(v8::String&, int)’: lerna ERR! ../node-expat.cc:124:30: warning: ‘int v8::String::Utf8Length() const’ is deprecated: Use Isolate version instead [-Wdeprecated-declarations] lerna ERR! int len = str.Utf8Length(); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, lerna ERR! from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, lerna ERR! from ../../nan/nan.h:52, lerna ERR! from ../node-expat.cc:1: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2587:52: note: declared here lerna ERR! V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const); lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ lerna ERR! declarator attribute((deprecated(message))) lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/node_object_wrap.h:26:0, lerna ERR! from ../../nan/nan.h:54, lerna ERR! from ../node-expat.cc:1: lerna ERR! ../node-expat.cc:130:55: warning: ‘int v8::String::WriteUtf8(char, int, int, int) const’ is deprecated: Use Isolate version [-Wdeprecated-declarations] lerna ERR! assert(str.WriteUtf8(static_cast<char >(buf), len) == len); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, lerna ERR! from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, lerna ERR! from ../../nan/nan.h:52, lerna ERR! from ../node-expat.cc:1: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2659:21: note: declared here lerna ERR! int WriteUtf8(char buffer, int length = -1, lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ lerna ERR! declarator attribute((deprecated(message))) lerna ERR! ^ lerna ERR! ../node-expat.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Parser::SetUnknownEncoding(Nan::NAN_METHOD_ARGS_TYPE)’: lerna ERR! ../node-expat.cc:470:59: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] lerna ERR! parser->xmlEncodingInfo->map[i] = m->Int32Value(); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, lerna ERR! from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, lerna ERR! from ../../nan/nan.h:52, lerna ERR! from ../node-expat.cc:1: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2478:46: note: declared here lerna ERR! V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ lerna ERR! declarator attribute((deprecated(message))) lerna ERR! ^ lerna ERR! In file included from ../src/heapdump.cc:17:0: lerna ERR! ../src/compat-inl.h: In static member function ‘static void compat::CpuProfiler::StartCpuProfiling(v8::Isolate, v8::Local)’: lerna ERR! ../src/compat-inl.h:300:34: warning: ‘v8::CpuProfiler v8::Isolate::GetCpuProfiler()’ is deprecated: CpuProfiler should be created with CpuProfiler::New call. [-Wdeprecated-declarations] lerna ERR! return isolate->GetCpuProfiler()->StartProfiling(title, record_samples); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, lerna ERR! from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, lerna ERR! from ../src/heapdump.cc:15: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:7485:30: note: declared here lerna ERR! CpuProfiler GetCpuProfiler()); lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ lerna ERR! declarator attribute((deprecated(message))) lerna ERR! ^ lerna ERR! In file included from ../src/heapdump.cc:17:0: lerna ERR! ../src/compat-inl.h: In static member function ‘static const v8::CpuProfile compat::CpuProfiler::StopCpuProfiling(v8::Isolate, v8::Local)’: lerna ERR! ../src/compat-inl.h:310:34: warning: ‘v8::CpuProfiler v8::Isolate::GetCpuProfiler()’ is deprecated: CpuProfiler should be created with CpuProfiler::New call. [-Wdeprecated-declarations] lerna ERR! return isolate->GetCpuProfiler()->StopProfiling(title); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, lerna ERR! from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, lerna ERR! from ../src/heapdump.cc:15: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:7485:30: note: declared here lerna ERR! CpuProfiler GetCpuProfiler()); lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ lerna ERR! declarator attribute((deprecated(message))) lerna ERR! ^ lerna ERR! ../src/heapdump.cc: In function ‘compat::ReturnType {anonymous}::WriteSnapshot(const ArgumentType&)’: lerna ERR! ../src/heapdump.cc:106:46: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] lerna ERR! String::Utf8Value filename_string(args[0]); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, lerna ERR! from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, lerna ERR! from ../src/heapdump.cc:15: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2892:28: note: declared here lerna ERR! explicit Utf8Value(Local obj)); lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ lerna ERR! declarator attribute((deprecated(message))) lerna ERR! ^ lerna ERR! ../src/heapdump.cc: In function ‘void {anonymous}::InvokeCallback(const char)’: lerna ERR! ../src/heapdump.cc:144:32: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] lerna ERR! argc, argv); lerna ERR! ^ lerna ERR! In file included from ../src/heapdump.cc:15:0: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/node.h:176:50: note: declared here lerna ERR! NODE_EXTERN v8::Local MakeCallback( lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ lerna ERR! attribute((deprecated(message))) declarator lerna ERR! ^ lerna ERR! ../src/heapdump.cc: In function ‘compat::ReturnType {anonymous}::Configure(const ArgumentType&)’: lerna ERR! ../src/heapdump.cc:157:55: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] lerna ERR! PlatformInit(args.GetIsolate(), args[0]->Int32Value()); lerna ERR! ^ lerna ERR! In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, lerna ERR! from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, lerna ERR! from ../src/heapdump.cc:15: lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2478:46: note: declared here lerna ERR! V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); lerna ERR! ^ lerna ERR! /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ lerna ERR! declarator attribute((deprecated(message))) lerna ERR! ^ lerna ERR! ERROR: Download of https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz failed: self signed certificate in certificate chain lerna ERR! gyp: Call to 'node -e "require('./binding').download_vips()"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp lerna ERR! gyp ERR! configure error lerna ERR! gyp ERR! stack Error: gyp failed with exit code: 1 lerna ERR! gyp ERR! stack at ChildProcess.onCpExit (/home/serhii/.nvm/versions/node/v10.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16) lerna ERR! gyp ERR! stack at ChildProcess.emit (events.js:182:13) lerna ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) lerna ERR! gyp ERR! System Linux 4.4.0-21-generic lerna ERR! gyp ERR! command "/home/serhii/.nvm/versions/node/v10.12.0/bin/node" "/home/serhii/.nvm/versions/node/v10.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" lerna ERR! gyp ERR! cwd /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/sharp lerna ERR! gyp ERR! node -v v10.12.0 lerna ERR! gyp ERR! node-gyp -v v3.8.0 lerna ERR! gyp ERR! not ok lerna ERR! npm WARN sstk No repository field. lerna ERR! npm WARN sstk No license field. lerna ERR! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents): lerna ERR! npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) lerna ERR! lerna ERR! npm ERR! code ELIFECYCLE lerna ERR! npm ERR! errno 1 lerna ERR! npm ERR! sharp@0.18.4 install: node-gyp rebuild lerna ERR! npm ERR! Exit status 1 lerna ERR! npm ERR! lerna ERR! npm ERR! Failed at the sharp@0.18.4 install script. lerna ERR! npm ERR! This is probably not a problem with npm. There is likely additional logging output above. lerna ERR! lerna ERR! npm ERR! A complete log of this run can be found in: lerna ERR! npm ERR! /home/serhii/.npm/_logs/2018-10-11T21_10_26_914Z-debug.log lerna ERR! lerna ERR! > node-expat@2.3.17 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/node-expat lerna ERR! > node-gyp rebuild lerna ERR! lerna ERR! make: Entering directory '/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/node-expat/build' lerna ERR! CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o lerna ERR! CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o lerna ERR! CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o lerna ERR! AR(target) Release/obj.target/deps/libexpat/libexpat.a lerna ERR! COPY Release/libexpat.a lerna ERR! CXX(target) Release/obj.target/node_expat/node-expat.o lerna ERR! SOLINK_MODULE(target) Release/obj.target/node_expat.node lerna ERR! COPY Release/node_expat.node lerna ERR! make: Leaving directory '/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/node-expat/build' lerna ERR! lerna ERR! > phantomjs-prebuilt@2.1.16 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt lerna ERR! > node install.js lerna ERR! lerna ERR! PhantomJS not found on PATH lerna ERR! Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 lerna ERR! Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 lerna ERR! Receiving... lerna ERR! lerna ERR! Received 22866K total. lerna ERR! Extracting tar contents (via spawned process) lerna ERR! Removing /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt/lib/phantom lerna ERR! Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1539292213213/phantomjs-2.1.1-linux-x86_64 -> /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt/lib/phantom lerna ERR! Writing location.js file lerna ERR! Done. Phantomjs binary available at /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs lerna ERR! lerna ERR! > deasync@0.1.13 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/deasync lerna ERR! > node ./build.js lerna ERR! lerna ERR! linux-x64-node-10 exists; testing lerna ERR! Binary is fine; exiting lerna ERR! lerna ERR! > gl@4.1.1 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/gl lerna ERR! > prebuild-install || node-gyp rebuild lerna ERR! lerna ERR! lerna ERR! > heapdump@0.3.9 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/heapdump lerna ERR! > node-gyp rebuild lerna ERR! lerna ERR! make: Entering directory '/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/heapdump/build' lerna ERR! CXX(target) Release/obj.target/addon/src/heapdump.o lerna ERR! SOLINK_MODULE(target) Release/obj.target/addon.node lerna ERR! COPY Release/addon.node lerna ERR! make: Leaving directory '/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/heapdump/build' lerna ERR! lerna ERR! > sharp@0.18.4 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/sharp lerna ERR! > node-gyp rebuild lerna ERR! lerna ERR! lerna ERR! at Promise.all.then.arr (/home/serhii/work/minos/minos/server/node_modules/execa/index.js:236:11) { Error: Command failed: npm install npm WARN deprecated filesaverjs@0.2.2: use 'file-saver' instead npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated constantinople@3.0.2: Please update to at least constantinople 3.1.1 npm WARN deprecated jscs-preset-wikimedia@1.0.1: Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941 npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead. npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated hoek@0.7.6: The major version is no longer supported. Please update to 4.x or newer ../deps/libexpat/lib/xmlparse.c: In function ‘gather_time_entropy’: ../deps/libexpat/lib/xmlparse.c:780:7: warning: variable ‘gettimeofday_res’ set but not used [-Wunused-but-set-variable] int gettimeofday_res; ^ In file included from ../../nan/nan_new.h:189:0, from ../../nan/nan.h:222, from ../node-expat.cc:1: ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’: ../../nan/nan_implementation_12_inl.h:340:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] return v8::StringObject::New(value).As(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:5053:37: note: declared here static Local New(Local value)); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ In file included from ../node-expat.cc:1:0: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’: ../../nan/nan.h:1066:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local string = from->ToString(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^ In file included from ../node-expat.cc:1:0: ../../nan/nan.h:1080:74: warning: ‘int v8::String::WriteUtf8(char, int, int, int) const’ is deprecated: Use Isolate version [-Wdeprecated-declarations] length = string->WriteUtf8(str, static_cast(len), 0, flags); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char buffer, int length = -1, ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ ../node-expat.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Parser::Parse(Nan::NAN_METHOD_ARGS_TYPE)’: ../node-expat.cc:98:33: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] str = info[0]->ToString(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:10040:15: note: declared here Local Value::ToString() const { ^ ../node-expat.cc:103:47: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local obj = info[0]->ToObject(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0, from ../../nan/nan.h:52, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:10046:15: note: declared here Local Value::ToObject() const { ^ ../node-expat.cc: In member function ‘bool Parser::parseString(v8::String&, int)’: ../node-expat.cc:124:30: warning: ‘int v8::String::Utf8Length() const’ is deprecated: Use Isolate version instead [-Wdeprecated-declarations] int len = str.Utf8Length(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2587:52: note: declared here V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/node_object_wrap.h:26:0, from ../../nan/nan.h:54, from ../node-expat.cc:1: ../node-expat.cc:130:55: warning: ‘int v8::String::WriteUtf8(char, int, int, int) const’ is deprecated: Use Isolate version [-Wdeprecated-declarations] assert(str.WriteUtf8(static_cast<char >(buf), len) == len); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2659:21: note: declared here int WriteUtf8(char buffer, int length = -1, ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ ../node-expat.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Parser::SetUnknownEncoding(Nan::NAN_METHOD_ARGS_TYPE)’: ../node-expat.cc:470:59: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] parser->xmlEncodingInfo->map[i] = m->Int32Value(); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../../nan/nan.h:52, from ../node-expat.cc:1: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ In file included from ../src/heapdump.cc:17:0: ../src/compat-inl.h: In static member function ‘static void compat::CpuProfiler::StartCpuProfiling(v8::Isolate, v8::Local)’: ../src/compat-inl.h:300:34: warning: ‘v8::CpuProfiler v8::Isolate::GetCpuProfiler()’ is deprecated: CpuProfiler should be created with CpuProfiler::New call. [-Wdeprecated-declarations] return isolate->GetCpuProfiler()->StartProfiling(title, record_samples); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../src/heapdump.cc:15: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:7485:30: note: declared here CpuProfiler GetCpuProfiler()); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ In file included from ../src/heapdump.cc:17:0: ../src/compat-inl.h: In static member function ‘static const v8::CpuProfile compat::CpuProfiler::StopCpuProfiling(v8::Isolate, v8::Local)’: ../src/compat-inl.h:310:34: warning: ‘v8::CpuProfiler v8::Isolate::GetCpuProfiler()’ is deprecated: CpuProfiler should be created with CpuProfiler::New call. [-Wdeprecated-declarations] return isolate->GetCpuProfiler()->StopProfiling(title); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../src/heapdump.cc:15: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:7485:30: note: declared here CpuProfiler GetCpuProfiler()); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ ../src/heapdump.cc: In function ‘compat::ReturnType {anonymous}::WriteSnapshot(const ArgumentType&)’: ../src/heapdump.cc:106:46: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value filename_string(args[0]); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../src/heapdump.cc:15: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local obj)); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ ../src/heapdump.cc: In function ‘void {anonymous}::InvokeCallback(const char)’: ../src/heapdump.cc:144:32: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] argc, argv); ^ In file included from ../src/heapdump.cc:15:0: /home/serhii/.node-gyp/10.12.0/include/node/node.h:176:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/serhii/.node-gyp/10.12.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^ ../src/heapdump.cc: In function ‘compat::ReturnType {anonymous}::Configure(const ArgumentType&)’: ../src/heapdump.cc:157:55: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] PlatformInit(args.GetIsolate(), args[0]->Int32Value()); ^ In file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0, from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63, from ../src/heapdump.cc:15: /home/serhii/.node-gyp/10.12.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^ ERROR: Download of https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz failed: self signed certificate in certificate chain gyp: Call to 'node -e "require('./binding').download_vips()"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/home/serhii/.nvm/versions/node/v10.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Linux 4.4.0-21-generic gyp ERR! command "/home/serhii/.nvm/versions/node/v10.12.0/bin/node" "/home/serhii/.nvm/versions/node/v10.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/sharp gyp ERR! node -v v10.12.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN sstk No repository field. npm WARN sstk No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sharp@0.18.4 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sharp@0.18.4 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/serhii/.npm/_logs/2018-10-11T21_10_26_914Z-debug.log

node-expat@2.3.17 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/node-expat node-gyp rebuild

make: Entering directory '/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/node-expat/build' CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o AR(target) Release/obj.target/deps/libexpat/libexpat.a COPY Release/libexpat.a CXX(target) Release/obj.target/node_expat/node-expat.o SOLINK_MODULE(target) Release/obj.target/node_expat.node COPY Release/node_expat.node make: Leaving directory '/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/node-expat/build'

phantomjs-prebuilt@2.1.16 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt node install.js

PhantomJS not found on PATH Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 Receiving...

Received 22866K total. Extracting tar contents (via spawned process) Removing /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt/lib/phantom Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1539292213213/phantomjs-2.1.1-linux-x86_64 -> /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt/lib/phantom Writing location.js file Done. Phantomjs binary available at /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs

deasync@0.1.13 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/deasync node ./build.js

linux-x64-node-10 exists; testing Binary is fine; exiting

gl@4.1.1 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/gl prebuild-install || node-gyp rebuild

heapdump@0.3.9 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/heapdump node-gyp rebuild

make: Entering directory '/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/heapdump/build' CXX(target) Release/obj.target/addon/src/heapdump.o SOLINK_MODULE(target) Release/obj.target/addon.node COPY Release/addon.node make: Leaving directory '/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/heapdump/build'

sharp@0.18.4 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/sharp node-gyp rebuild

at Promise.all.then.arr (/home/serhii/work/minos/minos/server/node_modules/execa/index.js:236:11)
at process._tickCallback (internal/process/next_tick.js:68:7)

code: 1, killed: false, stdout: '\n> node-expat@2.3.17 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/node-expat\n> node-gyp rebuild\n\nmake: Entering directory \'/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/node-expat/build\'\n CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o\n CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o\n CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o\n AR(target) Release/obj.target/deps/libexpat/libexpat.a\n COPY Release/libexpat.a\n CXX(target) Release/obj.target/node_expat/node-expat.o\n SOLINK_MODULE(target) Release/obj.target/node_expat.node\n COPY Release/node_expat.node\nmake: Leaving directory \'/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/node-expat/build\'\n\n> phantomjs-prebuilt@2.1.16 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt\n> node install.js\n\nPhantomJS not found on PATH\nDownloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2\nSaving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2\nReceiving...\n\nReceived 22866K total.\nExtracting tar contents (via spawned process)\nRemoving /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt/lib/phantom\nCopying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1539292213213/phantomjs-2.1.1-linux-x86_64 -> /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt/lib/phantom\nWriting location.js file\nDone. Phantomjs binary available at /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs\n\n> deasync@0.1.13 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/deasync\n> node ./build.js\n\nlinux-x64-node-10 exists; testing\nBinary is fine; exiting\n\n> gl@4.1.1 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/gl\n> prebuild-install || node-gyp rebuild\n\n\n> heapdump@0.3.9 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/heapdump\n> node-gyp rebuild\n\nmake: Entering directory \'/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/heapdump/build\'\n CXX(target) Release/obj.target/addon/src/heapdump.o\n SOLINK_MODULE(target) Release/obj.target/addon.node\n COPY Release/addon.node\nmake: Leaving directory \'/home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/heapdump/build\'\n\n> sharp@0.18.4 install /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/sharp\n> node-gyp rebuild\n\n', stderr: 'npm WARN deprecated filesaverjs@0.2.2: use \'file-saver\' instead\nnpm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade\nnpm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)\nnpm WARN deprecated constantinople@3.0.2: Please update to at least constantinople 3.1.1\nnpm WARN deprecated jscs-preset-wikimedia@1.0.1: Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941\nnpm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer\nnpm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade\nnpm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.\nnpm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.\nnpm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue\nnpm WARN deprecated node-uuid@1.4.8: Use uuid module instead\nnpm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue\nnpm WARN deprecated hoek@0.7.6: The major version is no longer supported. Please update to 4.x or newer\n../deps/libexpat/lib/xmlparse.c: In function ‘gather_time_entropy’:\n../deps/libexpat/lib/xmlparse.c:780:7: warning: variable ‘gettimeofday_res’ set but not used [-Wunused-but-set-variable]\n int gettimeofday_res;\n ^\nIn file included from ../../nan/nan_new.h:189:0,\n from ../../nan/nan.h:222,\n from ../node-expat.cc:1:\n../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)’:\n../../nan/nan_implementation_12_inl.h:340:37: warning: ‘static v8::Local v8::StringObject::New(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]\n return v8::StringObject::New(value).As();\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0,\n from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63,\n from ../../nan/nan.h:52,\n from ../node-expat.cc:1:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:5053:37: note: declared here\n static Local New(Local value));\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’\n declarator attribute((deprecated(message)))\n ^\nIn file included from ../node-expat.cc:1:0:\n../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local)’:\n../../nan/nan.h:1066:53: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n v8::Local string = from->ToString();\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0,\n from ../../nan/nan.h:52,\n from ../node-expat.cc:1:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:10040:15: note: declared here\n Local Value::ToString() const {\n ^\nIn file included from ../node-expat.cc:1:0:\n../../nan/nan.h:1080:74: warning: ‘int v8::String::WriteUtf8(char, int, int, int) const’ is deprecated: Use Isolate version [-Wdeprecated-declarations]\n length = string->WriteUtf8(str, static_cast(len), 0, flags);\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0,\n from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63,\n from ../../nan/nan.h:52,\n from ../node-expat.cc:1:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:2659:21: note: declared here\n int WriteUtf8(char buffer, int length = -1,\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’\n declarator attribute((deprecated(message)))\n ^\n../node-expat.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Parser::Parse(Nan::NAN_METHOD_ARGS_TYPE)’:\n../node-expat.cc:98:33: warning: ‘v8::Local v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n str = info[0]->ToString();\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0,\n from ../../nan/nan.h:52,\n from ../node-expat.cc:1:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:10040:15: note: declared here\n Local Value::ToString() const {\n ^\n../node-expat.cc:103:47: warning: ‘v8::Local v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n Local obj = info[0]->ToObject();\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63:0,\n from ../../nan/nan.h:52,\n from ../node-expat.cc:1:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:10046:15: note: declared here\n Local Value::ToObject() const {\n ^\n../node-expat.cc: In member function ‘bool Parser::parseString(v8::String&, int)’:\n../node-expat.cc:124:30: warning: ‘int v8::String::Utf8Length() const’ is deprecated: Use Isolate version instead [-Wdeprecated-declarations]\n int len = str.Utf8Length();\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0,\n from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63,\n from ../../nan/nan.h:52,\n from ../node-expat.cc:1:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:2587:52: note: declared here\n V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const);\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’\n declarator attribute((deprecated(message)))\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/node_object_wrap.h:26:0,\n from ../../nan/nan.h:54,\n from ../node-expat.cc:1:\n../node-expat.cc:130:55: warning: ‘int v8::String::WriteUtf8(char, int, int, int) const’ is deprecated: Use Isolate version [-Wdeprecated-declarations]\n assert(str.WriteUtf8(static_cast<char >(buf), len) == len);\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0,\n from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63,\n from ../../nan/nan.h:52,\n from ../node-expat.cc:1:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:2659:21: note: declared here\n int WriteUtf8(char buffer, int length = -1,\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’\n declarator attribute((deprecated(message)))\n ^\n../node-expat.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Parser::SetUnknownEncoding(Nan::NAN_METHOD_ARGS_TYPE)’:\n../node-expat.cc:470:59: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n parser->xmlEncodingInfo->map[i] = m->Int32Value();\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0,\n from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63,\n from ../../nan/nan.h:52,\n from ../node-expat.cc:1:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:2478:46: note: declared here\n V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’\n declarator attribute((deprecated(message)))\n ^\nIn file included from ../src/heapdump.cc:17:0:\n../src/compat-inl.h: In static member function ‘static void compat::CpuProfiler::StartCpuProfiling(v8::Isolate, v8::Local)’:\n../src/compat-inl.h:300:34: warning: ‘v8::CpuProfiler v8::Isolate::GetCpuProfiler()’ is deprecated: CpuProfiler should be created with CpuProfiler::New call. [-Wdeprecated-declarations]\n return isolate->GetCpuProfiler()->StartProfiling(title, record_samples);\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0,\n from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63,\n from ../src/heapdump.cc:15:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:7485:30: note: declared here\n CpuProfiler GetCpuProfiler());\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’\n declarator attribute((deprecated(message)))\n ^\nIn file included from ../src/heapdump.cc:17:0:\n../src/compat-inl.h: In static member function ‘static const v8::CpuProfile compat::CpuProfiler::StopCpuProfiling(v8::Isolate, v8::Local)’:\n../src/compat-inl.h:310:34: warning: ‘v8::CpuProfiler v8::Isolate::GetCpuProfiler()’ is deprecated: CpuProfiler should be created with CpuProfiler::New call. [-Wdeprecated-declarations]\n return isolate->GetCpuProfiler()->StopProfiling(title);\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0,\n from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63,\n from ../src/heapdump.cc:15:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:7485:30: note: declared here\n CpuProfiler GetCpuProfiler());\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’\n declarator attribute((deprecated(message)))\n ^\n../src/heapdump.cc: In function ‘compat::ReturnType {anonymous}::WriteSnapshot(const ArgumentType&)’:\n../src/heapdump.cc:106:46: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]\n String::Utf8Value filename_string(args[0]);\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0,\n from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63,\n from ../src/heapdump.cc:15:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:2892:28: note: declared here\n explicit Utf8Value(Local obj));\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’\n declarator attribute((deprecated(message)))\n ^\n../src/heapdump.cc: In function ‘void {anonymous}::InvokeCallback(const char)’:\n../src/heapdump.cc:144:32: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]\n argc, argv);\n ^\nIn file included from ../src/heapdump.cc:15:0:\n/home/serhii/.node-gyp/10.12.0/include/node/node.h:176:50: note: declared here\n NODE_EXTERN v8::Local MakeCallback(\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’\n attribute((deprecated(message))) declarator\n ^\n../src/heapdump.cc: In function ‘compat::ReturnType {anonymous}::Configure(const ArgumentType&)’:\n../src/heapdump.cc:157:55: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n PlatformInit(args.GetIsolate(), args[0]->Int32Value());\n ^\nIn file included from /home/serhii/.node-gyp/10.12.0/include/node/v8.h:26:0,\n from /home/serhii/.node-gyp/10.12.0/include/node/node.h:63,\n from ../src/heapdump.cc:15:\n/home/serhii/.node-gyp/10.12.0/include/node/v8.h:2478:46: note: declared here\n V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);\n ^\n/home/serhii/.node-gyp/10.12.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’\n declarator attribute((deprecated(message)))\n ^\nERROR: Download of https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz failed: self signed certificate in certificate chain\ngyp: Call to \'node -e "require(\'./binding\').download_vips()"\' returned exit status 1 while in binding.gyp. while trying to load binding.gyp\ngyp ERR! configure error \ngyp ERR! stack Error: gyp failed with exit code: 1\ngyp ERR! stack at ChildProcess.onCpExit (/home/serhii/.nvm/versions/node/v10.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)\ngyp ERR! stack at ChildProcess.emit (events.js:182:13)\ngyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)\ngyp ERR! System Linux 4.4.0-21-generic\ngyp ERR! command "/home/serhii/.nvm/versions/node/v10.12.0/bin/node" "/home/serhii/.nvm/versions/node/v10.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"\ngyp ERR! cwd /home/serhii/work/minos/minos/server/node_modules/sstk/node_modules/sharp\ngyp ERR! node -v v10.12.0\ngyp ERR! node-gyp -v v3.8.0\ngyp ERR! not ok \nnpm WARN sstk No repository field.\nnpm WARN sstk No license field.\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})\n\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! sharp@0.18.4 install: node-gyp rebuild\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the sharp@0.18.4 install script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /home/serhii/.npm/_logs/2018-10-11T21_10_26_914Z-debug.log\n', failed: true, signal: null, cmd: 'npm install', timedOut: false, exitCode: 1 } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sstk@0.5.3 bootstrap: lerna bootstrap --hoist npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sstk@0.5.3 bootstrap 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/serhii/.npm/_logs/2018-10-11T21_10_27_100Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sstk@0.5.3 postinstall: npm run bootstrap npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sstk@0.5.3 postinstall 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/serhii/.npm/_logs/2018-10-11T21_10_28_990Z-debug.log

msavva commented 5 years ago

One error that might be the root cause is failure to download https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz (due to certificate issues). Can you confirm if you have installed the prerequisite dependencies (see step 3 in https://github.com/minosworld/minos#installing) before invoking npm install?

GreyCoder25 commented 5 years ago

Yes, I had installed all this stuff before invoking npm install. But instead of libvips it selected libvips42 (maybe it's important). I have to mention also that first time after running npm install I had immediate error with self-signed certificate in a chain which was resolved after invoking "npm config set strict-ssl false".

sudo apt-get install build-essential libxi-dev libglu1-mesa-dev libglew-dev libvips [sudo] password for serhii: Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'libvips42' instead of 'libvips' build-essential is already the newest version (12.1ubuntu2). libglew-dev is already the newest version (1.13.0-2). libglu1-mesa-dev is already the newest version (9.0.0-2.1). libxi-dev is already the newest version (2:1.7.6-1). libvips42 is already the newest version (8.2.2-1).

angelxuanchang commented 5 years ago

Please check that you have libvips installed. The installation is failing because it cannot find libvips and is trying to download: https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz

You can also check that you can download https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz from a browser. And you can try NODE_TLS_REJECT_UNAUTHORIZED=0 npm install to allow download of https://dl.bintray.com/lovell/sharp/libvips-8.5.5-linux-x64.tar.gz (see nodejs/node-gyp#695)

GreyCoder25 commented 5 years ago

Yes, thank you, possibly it's not the best way but it solved the problem.

GreyCoder25 commented 5 years ago

Also it's worth to add that after running "NODE_TLS_REJECT_UNAUTHORIZED=0 npm install" end of the output is next:

added 286 packages from 118 contributors and audited 1741 packages in 264.012s found 31 vulnerabilities (17 low, 8 moderate, 5 high, 1 critical) run npm audit fix to fix them, or npm audit for details

And after invoking "npm audit fix" minos pygame client gives a connection problem:

2018-10-12 19:03:20,494 INFO sim00:sim server has exited with rv 1 2018-10-12 19:03:20,506 WARNING localhost:56954/socket.io [waiting for connection] HTTPConnectionPool(host='localhost', port=56954): Max retries exceeded with url: /socket.io/?transport=polling&t=1539360200496-0&EIO=3 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fa9c57b38>: Failed to establish a new connection: [Errno 111] Connection refused',)).

But ALL WORKS if NOT run "npm audit fix".

angelxuanchang commented 5 years ago

Glad that it worked. Yes, please don't run the npm audit fix . Some of the packages that are used are pretty old and we are working on minos 0.7.x to update to new packages and fix this issue.

TopCoder2K commented 2 years ago

@GreyCoder25, could you please tell me the steps you've done to fix the problem? I'm having the same error, but just running NODE_TLS_REJECT_UNAUTHORIZED=0 npm install haven't fixed it :( I also had tried running npm config set strict-ssl false and then NODE_TLS_REJECT_UNAUTHORIZED=0 npm install but this didn't help.

TopCoder2K commented 2 years ago

And also the links kindly provided by @angelxuanchang don't work, I get "forbidden"