Hey! I'm new to hydrogen! I can not update

I would really like to solve this problem
I recently made a rough "roll" of the operating system by simply copying all the directories from ubuntu 20.04 to ubuntu 18.04 to ssd to ssd. In general, this is the only error that I have encountered so far, I will be grateful for any connection
`
2021-04-15T17_33_53_032Z-debug.log
2021-04-15T17_35_03_969Z-debug.log
`

Same here, except that it complains about a different version of zeromq:

npm ERR<EMAIL_ADDRESS>install: node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Same for me. I am running Debian 10. Tried to downgrade Atom to 1.54.0 and use Hydrogen 2.14.6 as proposed in #2079 and also to 1.55.0 / 2.14.7 (which was the last running version for me). However, this did not resolve the issue. I am a bit puzzled by that... any ideas?

@kingtelepuz5 From your log, it looks like you've got the latest Hydrogen. If uninstalling and installing Hydrogen doesn't fix the issue. I'd try and downgrade hydrogen: apm install  apm install<EMAIL_ADDRESS>If this doesn't work, please, let me know and I'll try to reproduce the issue.
@juliuscrn I don't have enough info to tell you what's wrong in your case. Please, could you uninstall and install Hydrogen again, and post the full log?
@DMFTSever My understanding is that the latest release is working as of today. Please , could you check and confirm this isn't the case for you?

@DMFTSever My understanding is that the latest release is working as of today. Please , could you check and confirm this isn't the case for you?

I tried it again and it still doesn't work (with atom 1.56.0 and hydrogen 2.15.2). I have attached the log file
2021-04-16T20_01_47_488Z-debug.log

Debian 10, Atom 1.51, both Hydrogen 2.15.2 and Hydrogen 2.14.7 fails to install and build:

Click to error log for Hydrogen 2.15.2
><EMAIL_ADDRESS>install /tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq
> node-gyp-build || npm run build:libzmq

make: Entering directory '/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/build'
  ACTION binding_gyp_libzmq_target_prepare_build libzmq/lib
Building libzmq for linux
make: Leaving directory '/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/build'

><EMAIL_ADDRESS>build:libzmq /tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq
> node-gyp rebuild

make: Entering directory '/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/build'
  ACTION binding_gyp_libzmq_target_prepare_build libzmq/lib
Building libzmq for linux
make: Leaving directory '/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/build'

npm WARN deprecated<EMAIL_ADDRESS>core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated<EMAIL_ADDRESS>`json-parser` is deprecated. Please use `comment-json` instead
npm WARN deprecated<EMAIL_ADDRESS>You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated<EMAIL_ADDRESS>Version no longer supported. Upgrade to @latest
/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/scripts/prepare.js:20
  child.stdout.pipe(process.stdout);
               ^

TypeError: Cannot read property 'pipe' of undefined
    at buildZMQ (/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/scripts/prepare.js:20:16)
    at IncomingMessage.<anonymous> (/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/scripts/prepare.js:107:5)
    at IncomingMessage.emit (events.js:203:15)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
make: *** [libzmq.target.mk:13: libzmq/lib] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.4.0-72-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v10.20.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/scripts/prepare.js:20
  child.stdout.pipe(process.stdout);
               ^

TypeError: Cannot read property 'pipe' of undefined
    at buildZMQ (/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/scripts/prepare.js:20:16)
    at Object.<anonymous> (/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq/scripts/prepare.js:99:5)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
make: *** [libzmq.target.mk:13: libzmq/lib] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.4.0-72-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v10.20.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build:libzmq: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:libzmq script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/nriesco/.atom/.apm/_logs/2021-04-16T23_08_06_975Z-debug.log
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-2021317-1232-1fp93x8.dt65/package.json'
npm WARN apm-install-dir-2021317-1232-1fp93x8.dt65 No description
npm WARN apm-install-dir-2021317-1232-1fp93x8.dt65 No repository field.
npm WARN apm-install-dir-2021317-1232-1fp93x8.dt65 No README data
npm WARN apm-install-dir-2021317-1232-1fp93x8.dt65 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp-build || npm run build:libzmq`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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/nriesco/.atom/.apm/_logs/2021-04-16T23_08_09_609Z-debug.log

Click to error log for Hydrogen 2.1547
$ apm install<EMAIL_ADDRESS>Installing<EMAIL_ADDRESS>to /home/nriesco/.atom/packages ✗

><EMAIL_ADDRESS>install /tmp/apm-install-dir-2021316-488-pinju4.8zz0r/node_modules/Hydrogen/node_modules/zeromq
> node-gyp-build || npm run build:libzmq

make: Entering directory '/tmp/apm-install-dir-2021316-488-pinju4.8zz0r/node_modules/Hydrogen/node_modules/zeromq/build'
  ACTION binding_gyp_libzmq_target_prepare_build zmq/BUILD_SUCCESS
Building libzmq for linux
  TOUCH Release/obj.target/libzmq.stamp
  CXX(target) Release/obj.target/zmq/binding.o
  SOLINK_MODULE(target) Release/obj.target/zmq.node
make: Leaving directory '/tmp/apm-install-dir-2021316-488-pinju4.8zz0r/node_modules/Hydrogen/node_modules/zeromq/build'

><EMAIL_ADDRESS>build:libzmq /tmp/apm-install-dir-2021316-488-pinju4.8zz0r/node_modules/Hydrogen/node_modules/zeromq
> node-gyp rebuild

make: Entering directory '/tmp/apm-install-dir-2021316-488-pinju4.8zz0r/node_modules/Hydrogen/node_modules/zeromq/build'
  ACTION binding_gyp_libzmq_target_prepare_build zmq/BUILD_SUCCESS
Building libzmq for linux
  TOUCH Release/obj.target/libzmq.stamp
  CXX(target) Release/obj.target/zmq/binding.o
  SOLINK_MODULE(target) Release/obj.target/zmq.node
make: Leaving directory '/tmp/apm-install-dir-2021316-488-pinju4.8zz0r/node_modules/Hydrogen/node_modules/zeromq/build'

npm WARN deprecated<EMAIL_ADDRESS>core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated<EMAIL_ADDRESS>`json-parser` is deprecated. Please use `comment-json` instead
npm WARN deprecated<EMAIL_ADDRESS>You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated<EMAIL_ADDRESS>Version no longer supported. Upgrade to @latest
child process exited with code null
In file included from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8-internal.h:13,
                 from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:25,
                 from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8config.h:307:49: warning: ‘BufferReference’ is deprecated: Use MemorySpan<const uint8_t> [-Wdeprecated-declarations]
   declarator __attribute__((deprecated(message)))
                                                 ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:4444:3: note: in expansion of macro ‘V8_DEPRECATED’
   V8_DEPRECATED("Use CompiledWasmModule::GetWireBytesRef()",
   ^~~~~~~~~~~~~
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:4386:58: note: declared here
   V8_DEPRECATED("Use MemorySpan<const uint8_t>", struct) BufferReference {
                                                          ^~~~~~~~~~~~~~~
In file included from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8-internal.h:13,
                 from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:25,
                 from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8config.h:307:49: warning: ‘v8::WasmModuleObject::SerializedModule’ is deprecated: Use OwnedBuffer [-Wdeprecated-declarations]
   declarator __attribute__((deprecated(message)))
                                                 ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:4457:3: note: in expansion of macro ‘V8_DEPRECATED’
   V8_DEPRECATED("Use CompiledWasmModule::Serialize()",
   ^~~~~~~~~~~~~
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:4380:55: note: declared here
   std::pair<std::unique_ptr<const uint8_t[]>, size_t> SerializedModule;
                                                       ^~~~~~~~~~~~~~~~
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h: In member function ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:10172:62: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
   return ToBoolean(Isolate::GetCurrent()->GetCurrentContext())
                                                              ^
In file included from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8-internal.h:13,
                 from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:25,
                 from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:2388:63: note: declared here
                     V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                               ^~~~~~~~~
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::NotifyReadReady()’:
../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::NotifySendReady()’:
../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)’:
../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::MonitorError(const char*)’:
../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)’:
../binding.cc:545:98: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
       uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0);
                                                                                ^
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:779:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                   (uv_after_work_cb)UV_BindAsyncAfter);
                                     ^~~~~~~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)’:
../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:860:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                   (uv_after_work_cb)UV_UnbindAsyncAfter);
                                     ^~~~~~~~~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)’:
../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:1122:103: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
       uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0);
                                                                                ^
In file included from ../binding.cc:25:
../binding.cc: At global scope:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/node.h:560:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
       (node::addon_register_func) (regfunc),                          \
                                           ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/node.h:594:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../binding.cc:1558:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(zmq, init)
 ^~~~~~~~~~~
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/node_object_wrap.h:84:78:   required from here
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:9634:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61:   required from here
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:9634:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
g++: error: ./Release/../../zmq/lib/libzmq.a: No such file or directory
make: *** [zmq.target.mk:139: Release/obj.target/zmq.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.4.0-72-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2021316-488-pinju4.8zz0r/node_modules/Hydrogen/node_modules/zeromq
gyp ERR! node -v v10.20.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
child process exited with code null
In file included from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8-internal.h:13,
                 from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:25,
                 from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8config.h:307:49: warning: ‘BufferReference’ is deprecated: Use MemorySpan<const uint8_t> [-Wdeprecated-declarations]
   declarator __attribute__((deprecated(message)))
                                                 ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:4444:3: note: in expansion of macro ‘V8_DEPRECATED’
   V8_DEPRECATED("Use CompiledWasmModule::GetWireBytesRef()",
   ^~~~~~~~~~~~~
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:4386:58: note: declared here
   V8_DEPRECATED("Use MemorySpan<const uint8_t>", struct) BufferReference {
                                                          ^~~~~~~~~~~~~~~
In file included from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8-internal.h:13,
                 from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:25,
                 from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8config.h:307:49: warning: ‘v8::WasmModuleObject::SerializedModule’ is deprecated: Use OwnedBuffer [-Wdeprecated-declarations]
   declarator __attribute__((deprecated(message)))
                                                 ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:4457:3: note: in expansion of macro ‘V8_DEPRECATED’
   V8_DEPRECATED("Use CompiledWasmModule::Serialize()",
   ^~~~~~~~~~~~~
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:4380:55: note: declared here
   std::pair<std::unique_ptr<const uint8_t[]>, size_t> SerializedModule;
                                                       ^~~~~~~~~~~~~~~~
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h: In member function ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:10172:62: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
   return ToBoolean(Isolate::GetCurrent()->GetCurrentContext())
                                                              ^
In file included from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8-internal.h:13,
                 from /home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:25,
                 from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:2388:63: note: declared here
                     V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                               ^~~~~~~~~
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::NotifyReadReady()’:
../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::NotifySendReady()’:
../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)’:
../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::MonitorError(const char*)’:
../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)’:
../binding.cc:545:98: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
       uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0);
                                                                                ^
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:779:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                   (uv_after_work_cb)UV_BindAsyncAfter);
                                     ^~~~~~~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)’:
../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:860:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                   (uv_after_work_cb)UV_UnbindAsyncAfter);
                                     ^~~~~~~~~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)’:
../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../nan/nan.h:1026:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:1122:103: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
       uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0);
                                                                                ^
In file included from ../binding.cc:25:
../binding.cc: At global scope:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/node.h:560:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
       (node::addon_register_func) (regfunc),                          \
                                           ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/node.h:594:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../binding.cc:1558:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(zmq, init)
 ^~~~~~~~~~~
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/node_object_wrap.h:84:78:   required from here
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:9634:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:65:61:   required from here
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/5.0.13/include/node/v8.h:9634:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
g++: error: ./Release/../../zmq/lib/libzmq.a: No such file or directory
make: *** [zmq.target.mk:139: Release/obj.target/zmq.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.4.0-72-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2021316-488-pinju4.8zz0r/node_modules/Hydrogen/node_modules/zeromq
gyp ERR! node -v v10.20.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build:libzmq: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:libzmq script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/nriesco/.atom/.apm/_logs/2021-04-16T22_49_02_358Z-debug.log
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-2021316-488-pinju4.8zz0r/package.json'
npm WARN apm-install-dir-2021316-488-pinju4.8zz0r No description
npm WARN apm-install-dir-2021316-488-pinju4.8zz0r No repository field.
npm WARN apm-install-dir-2021316-488-pinju4.8zz0r No README data
npm WARN apm-install-dir-2021316-488-pinju4.8zz0r No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp-build || npm run build:libzmq`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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/nriesco/.atom/.apm/_logs/2021-04-16T22_49_05_159Z-debug.log

There seems to be a problem with the location of the build library in linux:
g++: error: ./Release/../../zmq/lib/libzmq.a: No such file or directory

Here's a workaround to install Hydrogen in Ubuntu:
$ sudo apt-get install libzmq3-dev
$ npm_config_zmq_external=true apm install hydrogen # and restart atom if it was already open

This bug is also present when using Atom 1.56.0.

Click to error log for Hydrogen 2.15.2
$ apm install hydrogen
Installing hydrogen to /home/nriesco/.atom/packages ✗

><EMAIL_ADDRESS>install /tmp/apm-install-dir-2021317-1202-iq9tdi.lb4fq/node_modules/Hydrogen/node_modules/@aminya/zeromq
> node-gyp-build || npm run build:libzmq

make: Entering directory '/tmp/apm-install-dir-2021317-1202-iq9tdi.lb4fq/node_modules/Hydrogen/node_modules/@aminya/zeromq/build'
  ACTION binding_gyp_libzmq_target_prepare_build libzmq/lib
Building libzmq for linux
  TOUCH Release/obj.target/libzmq.stamp
  CXX(target) Release/obj.target/zmq/binding.o
  SOLINK_MODULE(target) Release/obj.target/zmq.node
make: Leaving directory '/tmp/apm-install-dir-2021317-1202-iq9tdi.lb4fq/node_modules/Hydrogen/node_modules/@aminya/zeromq/build'

><EMAIL_ADDRESS>build:libzmq /tmp/apm-install-dir-2021317-1202-iq9tdi.lb4fq/node_modules/Hydrogen/node_modules/@aminya/zeromq
> node-gyp rebuild

make: Entering directory '/tmp/apm-install-dir-2021317-1202-iq9tdi.lb4fq/node_modules/Hydrogen/node_modules/@aminya/zeromq/build'
  ACTION binding_gyp_libzmq_target_prepare_build libzmq/lib
Building libzmq for linux
  TOUCH Release/obj.target/libzmq.stamp
  CXX(target) Release/obj.target/zmq/binding.o
  SOLINK_MODULE(target) Release/obj.target/zmq.node
make: Leaving directory '/tmp/apm-install-dir-2021317-1202-iq9tdi.lb4fq/node_modules/Hydrogen/node_modules/@aminya/zeromq/build'

npm WARN deprecated<EMAIL_ADDRESS>core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated<EMAIL_ADDRESS>`json-parser` is deprecated. Please use `comment-json` instead
npm WARN deprecated<EMAIL_ADDRESS>You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN deprecated<EMAIL_ADDRESS>Version no longer supported. Upgrade to @latest
Failed to start child process.
child process exited with code -13
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h:9116:75: warning: ‘MicrotasksCompletedCallback’ is deprecated [-Wdeprecated-declarations]
   void AddMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
                                                                           ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h:9124:78: warning: ‘MicrotasksCompletedCallback’ is deprecated [-Wdeprecated-declarations]
   void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
                                                                              ^
In file included from ../binding.cc:40:
../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                              ^
../binding.cc: In member function ‘void zmq::Socket::NotifyReadReady()’:
../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::NotifySendReady()’:
../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)’:
../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::MonitorError(const char*)’:
../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)’:
../binding.cc:545:98: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
       uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0);
                                                                                ^
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:779:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                   (uv_after_work_cb)UV_BindAsyncAfter);
                                     ^~~~~~~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)’:
../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:860:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                   (uv_after_work_cb)UV_UnbindAsyncAfter);
                                     ^~~~~~~~~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)’:
../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:1122:103: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
       uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0);
                                                                                ^
In file included from ../binding.cc:25:
../binding.cc: At global scope:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/node.h:566:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
       (node::addon_register_func) (regfunc),                          \
                                           ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/node.h:600:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../binding.cc:1558:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(zmq, init)
 ^~~~~~~~~~~
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/node_object_wrap.h:84:78:   required from here
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h:10818:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../../nan/nan_object_wrap.h:65:61:   required from here
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h:10818:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
g++: error: ./Release/../../zmq/lib/libzmq.a: No such file or directory
make: *** [zmq.target.mk:145: Release/obj.target/zmq.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.4.0-72-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2021317-1202-iq9tdi.lb4fq/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h:9116:75: warning: ‘MicrotasksCompletedCallback’ is deprecated [-Wdeprecated-declarations]
   void AddMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
                                                                           ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h:9124:78: warning: ‘MicrotasksCompletedCallback’ is deprecated [-Wdeprecated-declarations]
   void RemoveMicrotasksCompletedCallback(MicrotasksCompletedCallback callback);
                                                                              ^
In file included from ../binding.cc:40:
../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                              ^
../binding.cc: In member function ‘void zmq::Socket::NotifyReadReady()’:
../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:399:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::NotifySendReady()’:
../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:407:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 0, NULL);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::MonitorEvent(uint16_t, int32_t, char*)’:
../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:458:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 4, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In member function ‘void zmq::Socket::MonitorError(const char*)’:
../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:473:73: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(this->handle(), callback_v.As<Function>(), 1, argv);
                                                                         ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_MonitorCallback(uv_timer_t*, int)’:
../binding.cc:545:98: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
       uv_timer_start(s->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), s->timer_interval_, 0);
                                                                                ^
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:779:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                   (uv_after_work_cb)UV_BindAsyncAfter);
                                     ^~~~~~~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_BindAsyncAfter(uv_work_t*)’:
../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:814:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Unbind(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:860:37: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                   (uv_after_work_cb)UV_UnbindAsyncAfter);
                                     ^~~~~~~~~~~~~~~~~~~
../binding.cc: In static member function ‘static void zmq::Socket::UV_UnbindAsyncAfter(uv_work_t*)’:
../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc:893:70: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
     Nan::MakeCallback(Nan::GetCurrentContext()->Global(), cb, 1, argv);
                                                                      ^
In file included from ../binding.cc:40:
../../../nan/nan.h:1024:46: note: declared here
   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                              ^~~~~~~~~~~~
../binding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE zmq::Socket::Monitor(Nan::NAN_METHOD_ARGS_TYPE)’:
../binding.cc:1122:103: warning: cast between incompatible function types from ‘void (*)(uv_timer_t*, int)’ {aka ‘void (*)(uv_timer_s*, int)’} to ‘uv_timer_cb’ {aka ‘void (*)(uv_timer_s*)’} [-Wcast-function-type]
       uv_timer_start(socket->monitor_handle_, reinterpret_cast<uv_timer_cb>(Socket::UV_MonitorCallback), timer_interval, 0);
                                                                                ^
In file included from ../binding.cc:25:
../binding.cc: At global scope:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/node.h:566:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
       (node::addon_register_func) (regfunc),                          \
                                           ^
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/node.h:600:3: note: in expansion of macro ‘NODE_MODULE_X’
   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
   ^~~~~~~~~~~~~
../binding.cc:1558:1: note: in expansion of macro ‘NODE_MODULE’
 NODE_MODULE(zmq, init)
 ^~~~~~~~~~~
In file included from ../binding.cc:24:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/node_object_wrap.h:84:78:   required from here
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h:10818:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                reinterpret_cast<Callback>(callback), type);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../../nan/nan_object_wrap.h:65:61:   required from here
/home/nriesco/.atom/.node-gyp/.cache/node-gyp/9.4.4/include/node/v8.h:10818:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
g++: error: ./Release/../../zmq/lib/libzmq.a: No such file or directory
make: *** [zmq.target.mk:145: Release/obj.target/zmq.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:200:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.4.0-72-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2021317-1202-iq9tdi.lb4fq/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build:libzmq: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:libzmq script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/nriesco/.atom/.apm/_logs/2021-04-16T23_42_36_102Z-debug.log
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-2021317-1202-iq9tdi.lb4fq/package.json'
npm WARN apm-install-dir-2021317-1202-iq9tdi.lb4fq No description
npm WARN apm-install-dir-2021317-1202-iq9tdi.lb4fq No repository field.
npm WARN apm-install-dir-2021317-1202-iq9tdi.lb4fq No README data
npm WARN apm-install-dir-2021317-1202-iq9tdi.lb4fq No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp-build || npm run build:libzmq`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>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/nriesco/.atom/.apm/_logs/2021-04-16T23_42_36_957Z-debug.log

Fixed in https://github.com/nteract/hydrogen/pull/2088

The Fix from #2088 did not resolve the issue for me.

$ sudo apt-get install libzmq3-dev
$ npm_config_zmq_external=true apm install hydrogen # and restart atom if it was already open

This actually worked, thanks :)

@DMFTSever Could you give us the log of the failure? You shouldn't need to install any external dependencies. The app comes with prebuilt binaries. That seems strange to me.
Also, what is your operating system and the processor architecture?

This is the error logs I currently get:
2021-04-17T07_18_07_737Z-debug.log
2021-04-17T07_18_06_583Z-debug.log
uname -a says:
Linux 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux

The log doesn't still give enough information why it fails. There is a warning about a missing package.json. It might be a bug in node-gyp-build which cannot find package.json
https://github.com/prebuild/node-gyp-build/blob/28b562f593ed2d0f3a1dcca4ee781f36d4b20e21/index.js#L28
5820 warn enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-2021317-23868-7qh7cb.ooxql/package.json'
5821 verbose enoent This is related to npm not being able to find a file.
5822 warn apm-install-dir-2021317-23868-7qh7cb.ooxql No description
5823 warn apm-install-dir-2021317-23868-7qh7cb.ooxql No repository field.
5824 warn apm-install-dir-2021317-23868-7qh7cb.ooxql No README data
5825 warn apm-install-dir-2021317-23868-7qh7cb.ooxql No license field.
5826 verbose stack Error<EMAIL_ADDRESS>install: `node-gyp-build || npm run build:libzmq`
5826 verbose stack Exit status 1
5826 verbose stack     at EventEmitter.<anonymous> (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
5826 verbose stack     at EventEmitter.emit (events.js:200:13)
5826 verbose stack     at ChildProcess.<anonymous> (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
5826 verbose stack     at ChildProcess.emit (events.js:200:13)
5826 verbose stack     at maybeClose (internal/child_process.js:1021:16)
5826 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
5827 verbose pkgid<EMAIL_ADDRESS>5828 verbose cwd /tmp/apm-install-dir-2021317-23868-7qh7cb.ooxql
5829 verbose Linux 4.19.0-16-amd64
5830 verbose argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/nini/.atom/.apm/.apmrc" "--userconfig" "/home/nini/.atom/.apmrc" "install" "https://www.atom.io/api/packages/hydrogen/versions/2.15.3/tarball" "--target=9.4.4" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
5831 verbose node v12.4.0
5832 verbose npm  v6.14.8
5833 error code ELIFECYCLE
5834 error errno 1
5835 error<EMAIL_ADDRESS>install: `node-gyp-build || npm run build:libzmq`
5835 error Exit status 1
5836 error Failed at the<EMAIL_ADDRESS>install script.
5836 error This is probably not a problem with npm. There is likely additional logging output above.
5837 verbose exit [ 1, true ]

P.S: I have had many issues with the prebuild packages. As an example, node-gyp-build algorithm for finding prebuilds is pretty weak and they refuse to include improvements. I might make a fork of that project to fix the issue
https://github.com/prebuild/node-gyp-build/pull/35
https://github.com/prebuild/node-gyp-build/issues/22

@n-riesco reinstall did the trick in my case.

unfortunately none of the above methods helped me, I will just use again jupyter-notebook, thanks for the answer and your time helping me ❤☘

but if you suddenly do support .ipynb I will definitely come back, so far I was ready to use hydrogen only on R, ignoring the possibilities .ipynb, but now the kernel is not even put back, and I think it will not be the best option to torment my nerves, thank you very much for your help, I really look forward to support .ipynb and I will be ready to spend my nerves to install the kernel. * hugged * 🥰🤜🤛🦾🤯🦄

ipynb is already supported. You can import a notebook by running Hydrogen: import notebook. We should add an opener so it opens the notebooks automatically without the need for running commands.

I didn't know that, then I'll try to install the kernel now and try this, thanks
Держу в курсе ;)

okay, it's not end
i am upgrade hydrogen use sudo "sudo apm install<EMAIL_ADDRESS>and his work
but
next step i see
Uncaught Error: /usr/lib/x86_64-linux-gnu/libstdc  .so.6: version `GLIBCXX_3.4.26' not found (req...
[Enter steps to reproduce:]

...
...

Atom: 1.56.0 x64
Electron: 9.4.4
OS: Ubuntu 18.04.5
Thrown From: Hydrogen package 2.15.3
Stack Trace
Uncaught Error: /usr/lib/x86_64-linux-gnu/libstdc  .so.6: version `GLIBCXX_3.4.26' not found (required by<EMAIL_ADDRESS>At electron/js2c/asar.js:140

Error: /usr/lib/x86_64-linux-gnu/libstdc  .so.6: version `GLIBCXX_3.4.26' not found (required by<EMAIL_ADDRESS>    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
    at Object.func [as .node] (electron/js2c/asar.js:140:31)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/usr/share/atom/resources/app/static/<embedded>:11:149153)
    at load (/packages/Hydrogen/node_modules/node-gyp-build/index.js:21:10)
    at /packages/Hydrogen/node_modules/@aminya/zeromq/binding.js:1:198)
    at /packages/Hydrogen/node_modules/@aminya/zeromq/binding.js:3:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:149837)
    at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:153385)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/usr/share/atom/resources/app/static/<embedded>:11:149153)
    at /packages/Hydrogen/node_modules/@aminya/zeromq/lib/index.js:6:11)
    at /packages/Hydrogen/node_modules/@aminya/zeromq/lib/index.js:857:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:149837)
    at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:153385)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/usr/share/atom/resources/app/static/<embedded>:11:149153)
    at /packages/Hydrogen/node_modules/@aminya/zeromq/index.js:2:18)
    at /packages/Hydrogen/node_modules/@aminya/zeromq/index.js:3:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:149837)

Commands

Non-Core Packages
atom-beautify 0.33.4
atom-clock 0.1.18
atom-file-icons 0.7.1
atom-language-r 1.4.8
atom-material-ui 2.1.3
atom-translator 0.3.0
autocomplete-python 1.17.0
autocomplete-R 0.6.0
autocomplete-sql 0.5.0
emoji-syntax 1.7.6
Hydrogen 2.15.3
ide-python 1.8.0
ide-r 0.1.8
kite 0.204.0
python-debugger 0.2.0
r-syntax 1.0.5
script 3.31.1
script-runner 2.6.0

and please, tell me, where i need to write "Hydrogen : import notebook "
in file? in setup hydrogen? sorry i am don't understand

That's because you have installed Atom from Snap instead of the official website.
https://atom.io/
I fixed that error for Snap, but they haven't responded for months
https://github.com/nteract/hydrogen/issues/2085

ohh if it was true, I downloaded atom from off site, and installed it using the package .deb
I don’t know, I’ll try to remove all packages and the whole atom completely, and put it back, a little later. if there are ideas less radical than this, I will be glad to hear :)

You can instead install libc++: libstdc++6. It should be available from apt

From the top of my head, sudo apt install build-essential cmake libzmq3-dev should be enough.

and so, after several hours of repair, I can draw a conclusion. First, ubuntu 18.04 does not update the kernel, perhaps a bug in ubuntu itself. second, i was able to update hydrogen without issue on ubuntu 20.04. third, support ipynb. still broken, when you run the code, the lines in the atom break and create visual interference, the graphics cannot be "touched". in general, everything is ok, thanks for the help☘🥰

https://github.com/nteract/hydrogen/issues/2091#issuecomment-821992947


20220926rocm

ROCm support added.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 4 committers have signed the CLA.:white_check_mark: emankov:x: B1tway:x: alexpetersburg:x: GowthamKudupudiYou have signed the CLA already but the status is still pending? Let us recheck it.

New PR with single commit is at https://github.com/ApolloAuto/apollo/pull/14693

Reopening as CLA is signed.

These files do not need to be submitted because configuration overrides will be generated when selecting the car type.
modules/common/data/global_flagfile.txt
modules/common/data/vehicle_param.pb.txt
modules/control/conf/control_conf.pb.txt
modules/control/conf/navigation_lincoln.pb.txt
modules/drivers/lidar/velodyne/params/64E_S3_calibration_example.yaml
modules/drivers/lidar/velodyne/params/velodyne64_novatel_extrinsics_example.yaml
modules/localization/msf/params/gnss_params/ant_imu_leverarm.yaml
modules/localization/msf/params/velodyne_params/64E_S3_calibration_example.yaml
modules/localization/msf/params/velodyne_params/velodyne64_novatel_extrinsics_example.yaml
modules/perception/data/params/front_12mm_extrinsics.yaml
modules/perception/data/params/front_12mm_intrinsics.yaml
modules/perception/data/params/front_6mm_extrinsics.yaml
modules/perception/data/params/front_6mm_intrinsics.yaml

The plugins is almost the same with modules/perception/inference/tensorrt/plugins
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.h
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.cu
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.h
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.cu
modules/perception/inference/migraphx/plugins/nms_cuda.cu
modules/perception/inference/migraphx/plugins/kernels.h
modules/perception/inference/migraphx/plugins/kernels.cu
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.h
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.cu

The data in modules/perception/inference/inference_test_data is too large. Are they all used for test? If not, we can delete some to avoid code expansion

@emankov, can these list of files be normalized with symbolic links?

The plugins is almost the same with modules/perception/inference/tensorrt/plugins
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.h
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.cu
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.h
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.cu
modules/perception/inference/migraphx/plugins/nms_cuda.cu
modules/perception/inference/migraphx/plugins/kernels.h
modules/perception/inference/migraphx/plugins/kernels.cu
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.h
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.cu

The data in modules/perception/inference/inference_test_data is too large. Are they all used for test? If not, we can delete some to avoid code expansion

@emankov, please comment

@emankov, can this list of files be normalized with symbolic links?

The plugins is almost the same with modules/perception/inference/tensorrt/plugins
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.h
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.cu
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.h
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.cu
modules/perception/inference/migraphx/plugins/nms_cuda.cu
modules/perception/inference/migraphx/plugins/kernels.h
modules/perception/inference/migraphx/plugins/kernels.cu
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.h
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.cu

Not sure about symbolic links due to 1) different includes 2) additional includes 3) not all the plugins are supported by migraphx currently.
We can think about refactoring plugins by 1) moving the plugins folder with sources to one level higher, 2) guarding the target specific includes by ifdefs (NVIDIA or AMD) 3) refactoring BUILD files or (if possible) making a single BUILD file for both targets.
We haven't done it, cause we followed the rule touch the NVIDIA-specific code as less as possible.

The data in modules/perception/inference/inference_test_data is too large. Are they all used for test? If not, we can delete some to avoid code expansion

@emankov, please comment

Only modules\perception\inference\inference_test_data\migraphx data was introduced:
SHA-1: 007ff1ccd52dd660cdd8cfa7903aff374d49e1f9
SHA-1: 392a6f340b1d8ecad85a343c5f27f6aca6083013
SHA-1: 5e9ca70b01fa5b6c5641bbf0dee87390d5b75655
@B1tway, could it be shrinked?

@emankov, can this list of files be normalized with symbolic links?

The plugins is almost the same with modules/perception/inference/tensorrt/plugins
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.h
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.cu
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.h
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.cu
modules/perception/inference/migraphx/plugins/nms_cuda.cu
modules/perception/inference/migraphx/plugins/kernels.h
modules/perception/inference/migraphx/plugins/kernels.cu
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.h
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.cu

Not sure about symbolic links due to 1) different includes 2) additional includes 3) not all the plugins are supported by migraphx currently.
We can think about refactoring plugins by 1) moving the plugins folder with sources to one level higher, 2) guarding the target specific includes by ifdefs (NVIDIA or AMD) 3) refactoring BUILD files or (if possible) making a single BUILD file for both targets.
We haven't done it, cause we followed the rule touch the NVIDIA-specific code as less as possible.

We can consider extracting a public library, if feasible, we can merge it first, and then optimize it next time

The data in modules/perception/inference/inference_test_data is too large. Are they all used for test? If not, we can delete some to avoid code expansion

@emankov, please comment

Only modules\perception\inference\inference_test_data\migraphx data was introduced: SHA-1: 007ff1c SHA-1: 392a6f3 SHA-1: 5e9ca70
@B1tway, could it be shrinked?

Yeah. I think that testing all networks on MIGraphX is excessive, so we can remove the test data of some networkss

@B1tway what test data can be removed? will you prune it?

@B1tway what test data can be removed? will you prune it?

I think we should keep traffic_light_detection and lane_detector and delete the others

@emankov, can this list of files be normalized with symbolic links?

The plugins is almost the same with modules/perception/inference/tensorrt/plugins
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.h
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.cu
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.h
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.cu
modules/perception/inference/migraphx/plugins/nms_cuda.cu
modules/perception/inference/migraphx/plugins/kernels.h
modules/perception/inference/migraphx/plugins/kernels.cu
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.h
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.cu

Not sure about symbolic links due to 1) different includes 2) additional includes 3) not all the plugins are supported by migraphx currently.
We can think about refactoring plugins by 1) moving the plugins folder with sources to one level higher, 2) guarding the target specific includes by ifdefs (NVIDIA or AMD) 3) refactoring BUILD files or (if possible) making a single BUILD file for both targets.
We haven't done it, cause we followed the rule touch the NVIDIA-specific code as less as possible.

@daohu527 can refactor it in next release?

@emankov, can this list of files be normalized with symbolic links?

The plugins is almost the same with modules/perception/inference/tensorrt/plugins
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.h
modules/perception/inference/migraphx/plugins/rpn_proposal_ssd_plugin.cu
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.h
modules/perception/inference/migraphx/plugins/rcnn_proposal_plugin.cu
modules/perception/inference/migraphx/plugins/nms_cuda.cu
modules/perception/inference/migraphx/plugins/kernels.h
modules/perception/inference/migraphx/plugins/kernels.cu
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.h
modules/perception/inference/migraphx/plugins/dfmb_psroi_align_plugin.cu

Not sure about symbolic links due to 1) different includes 2) additional includes 3) not all the plugins are supported by migraphx currently.
We can think about refactoring plugins by 1) moving the plugins folder with sources to one level higher, 2) guarding the target specific includes by ifdefs (NVIDIA or AMD) 3) refactoring BUILD files or (if possible) making a single BUILD file for both targets.
We haven't done it, cause we followed the rule touch the NVIDIA-specific code as less as possible.

@daohu527 can refactor it in next release?

@GowthamKudupudi yes

doing this

@B1tway what test data can be removed? will you prune it?

I think we should keep traffic_light_detection and lane_detector and delete the others

Done
https://github.com/amd/apollo/commit/b23759221d6240d390a12d8a74e4cb15ccd19e90

@GowthamKudupudi I see the modification has been done, can we ready to merge?


Cannot print files directly when disableAutoFetch is set to true

Attach (recommended) or Link to PDF file here:
demo pdf file: https://mozilla.github.io/pdf.js/legacy/web/viewer.html
Configuration:

Web browser and its version: 版本 107.0.5304.107（正式版本） （64 位）
Operating system and its version:  windows11
PDF.js version: pdfjs-3.0.279-legacy-dist

Steps to reproduce the problem:

set disableAutoFetch as true;

click print button;

Requires scrolling to view all pages before printing：

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://mozilla.github.io/pdf.js/legacy/web/viewer.html
Is there an interface to render all pages before printing?

Web browser and its version: 版本 107.0.5304.107（正式版本） （64 位）

I have no idea what this means; please remember to only use English in this bug tracker.

This is the expected behaviour when disableAutoFetch = true is set, since printing in browsers is synchronous and all pages thus need to be loaded before printing starts. To work-around that you can scroll through the entire document such that all pages have loaded, or simply not use disableAutoFetch = true if printing is a vital part of the work-flow.
Closing as answered, since this cannot be fixed (in general) when disableAutoFetch = true is used.

Web browser and its version: 版本 107.0.5304.107（正式版本） （64 位）

Sorry, this is the version of the chrome browser, I forgot to add the browser name。
if it cannot be fixed, Is there an interface to rerender all pages before printing? Or can only remove the setting of disableAutoFetch and then reload the page.


Terminal: restarting with terminal open closes panel

Steps to Reproduce:

open terminal
reload window or restart

=> terminal is not restored
I suspect the terminal closes, closes the panel and thus you loose this UI state.

Yeah, this is happening because of the fix to ensure terminals are killed off when exiting. I don't think this is critical enough to be fixed for April.


PlatformException when trying to detect objects on a custom model (3D tensor vs 4D tensor)

I used Cloud AutoML to train a custom model that suppose to detect marks on a piece of paper. I have the dataset exported as a TFLite file, and i have it hosted on firebase.
I managed to download the file and initiate the objectDetector fine. but are getting an error when processing an input image.
This is how i download the model file
  static Future<File> loadModelFileFromFirebase() async {
    try {
      FirebaseModelDownloader downloader = FirebaseModelDownloader.instance;

      List<FirebaseCustomModel> models = await downloader.listDownloadedModels();
      for (FirebaseCustomModel model in models) {
        print('Name: ${model.name}');
      }

      FirebaseModelDownloadConditions conditions = FirebaseModelDownloadConditions(
        iosAllowsCellularAccess: true,
        iosAllowsBackgroundDownloading: false,
        androidChargingRequired: false,
        androidWifiRequired: false,
        androidDeviceIdleRequired: false,
      );

      FirebaseCustomModel model = await downloader.getModel(
        'xxx',
        FirebaseModelDownloadType.latestModel,
        conditions,
      );

      File modelFile = model.file;

      return modelFile;
    } catch (exception) {
      print('Failed on loading your model from Firebase: $exception');
      print('The program will not be resumed');
      rethrow;
    }
  }

This is how i initialise the object detector:
  static Future<ObjectDetector> initializeLocalDetector(File modelFile, double confidenceThreshold, int maximumLabelsPerObject) async {
    try {
      final options = LocalObjectDetectorOptions(
        mode: DetectionMode.single,
        modelPath: modelFile.path,
        classifyObjects: true,
        multipleObjects: true,
        confidenceThreshold: confidenceThreshold,
        maximumLabelsPerObject: maximumLabelsPerObject,
      );

      return ObjectDetector(options: options);
    } catch (exception) {
      print('Failed on loading your model to the TFLite interpreter: $exception');
      print('The program will not be resumed');
      rethrow;
    }
  }

When i call:
        List<DetectedObject> objects = await state.mainShoddyState.objectDetector!.processImage(inputImage);

I get the following error:
PlatformException(Error 3, com.google.visionkit.pipeline.error, Pipeline failed to fully start:
CalculatorGraph::Run() failed in Run:
Calculator::Open() for node "BoxClassifierCalculator" failed: #vk Unexpected number of dimensions for output index 0: got 3D, expected either 2D (BxN with B=1) or 4D (BxHxWxN with B=1, W=1, H=1)., null)

Is there something i'm missing?

I am getting the same error when running my custom model. Mine is stored locally.

I am getting the same issue with a custom model trained using AutoMl.

I've explored multiple avenues without any success. It seems like the only way to get models trained with autoML / Vertex ai is to use https://www.tensorflow.org. I've managed to test my models manually with the native example projects they provide.
I guess if we cant get this to work we'll need to create a new plugin

Thanks for the insight @Theunodb you save me some time! I was about to train a new model using Vertex Ai.
It seems that most of the tflite packages are outdated as well.

For anyone still wondering, the documentation for this is pretty confusing but you can use custom models for object detection, but only image classification models. You can also see that this is the case when looking at the ML Kit models in tfhub, because their architectures and datasets are image classifiers and image classification problems. The ML Kit object detector uses Google's object detection and tracking API with an image classifier (instead of just using an object detection model). At the moment, we're at the mercy of their object detection API, and it looks like there is still no way to use a custom object detector model.


CCF Portal: ASCT+B Reporter incorrect link

On the CCF Portal (https://hubmapconsortium.github.io/ccf/) when clicking on the ASCT+B Reporter link, it loads VHMOOC instead of the ASCT+B Reporter.

You may need to refresh. Fix is live.

From: Kirk Ebelhar @.>
Sent: Wednesday, March 31, 2021 7:49 AM
To: hubmapconsortium/ccf @.>
Cc: Cross, Leonard Edward @.>; Assign @.>
Subject: [hubmapconsortium/ccf] CCF Portal: ASCT+B Reporter incorrect link (#2)
On the CCF Portal (https://hubmapconsortium.github.io/ccf/) when clicking on the ASCT+B Reporter link, it loads VHMOOC instead of the ASCT+B Reporter.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/hubmapconsortium/ccf/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJIWOICWOKT5XD74HVW2I4DTGMY6BANCNFSM42E2S4NQ.


LSM policy should only grab dst segments as needed

Currently, if no data is put into a free dst seg on cleaning, then it is left as in-use and empty.
A better approach altogether is to only demand free pages when they are needed in the cleaning.

Fixed.