-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deno panicked trying to run ZeroMQ from NPM package #18345
Comments
I just tried it with latest Deno and I get:
Could you try it on your side @welsonjr and let me know if this is still a problem? |
Unfortunately the error still persists.
|
I think this error is not caused by Deno. I tried to install in an Express project and got error too. It looks like zeromq.js has some bugs on the build and its dependencies:
I tried to use zeromq in Rust and Python and they requires no extra setup, while I think the Node library is different. Actually, there is also a big news from the maintainer: zeromq/zeromq.js#576 |
While trying to run the code bellow:
Deno panicked
Platform: macos x86_64
Version: 1.31.3
Args: ["deno", "run", "zmq-worker.ts"]
thread 'main' panicked at 'napi_register_module_v1 not found: DlSym { desc: "dlsym(0x7fc9dd4391d0, napi_register_module_v1): symbol not found" }', /private/tmp/deno-20230316-8411-14pm5ia/deno/ext/napi/lib.rs:707:14
stack backtrace:
0: 0x108dee56a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hd84bb6a6cfdab3c7
1: 0x10834fc9a - core::fmt::write::h064e45b009bad019
2: 0x108dc976c - std::io::Write::write_fmt::h2baab28417cc385e
3: 0x108dee35a - std::sys_common::backtrace::print::h40507d34f683de75
4: 0x108dccd63 - std::panicking::default_hook::{{closure}}::h41d95177e478a814
5: 0x108dcca74 - std::panicking::default_hook::h92082f3783ffd863
6: 0x1082d6e24 - deno::setup_panic_hook::{{closure}}::hb16ad9950d35c310
7: 0x108dcd602 - std::panicking::rust_panic_with_hook::h7164f539cab4c561
8: 0x108dee9e5 - std::panicking::begin_panic_handler::{{closure}}::h0697ed62d1c15d34
9: 0x108dee948 - std::sys_common::backtrace::__rust_end_short_backtrace::h035e1452da26fb2c
10: 0x108dcd172 - _rust_begin_unwind
11: 0x10a2599c3 - core::panicking::panic_fmt::h619520ac8a6ef893
12: 0x10a259e25 - core::result::unwrap_failed::h5bb33123d8199612
13: 0x10888d983 - <extern "C" fn(A0) .> R as v8::support::CFnFrom>::mapping::c_fn::hd22173f4c0d0adf0
14: 0x1091d5e3f - __ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateENS0_6HandleINS0_10HeapObjectEEENS8_INS0_20FunctionTemplateInfoEEENS8_IS4_EEPmi
15: 0x1091d5435 - __ZN2v88internal21Builtin_HandleApiCallEiPmPNS0_7IsolateE
The text was updated successfully, but these errors were encountered: