Tsubasa
Tsubasa2w ago

Issues with libuv and zeromq support in Deno?

I was creating a deno proxy server to communicate with my python microservices which extensively use zeromq to communicate with each other, But on Deno I cannot set up zeromq no matter what, this is the error I get with using npm:zeromq package.
deno: symbol lookup error: /home/user/projects/data-proxy/node_modules/.deno/zeromq@6.3.0/node_modules/zeromq/build/linux/x64/node/115/addon.node: undefined symbol: uv_unref
deno: symbol lookup error: /home/user/projects/data-proxy/node_modules/.deno/zeromq@6.3.0/node_modules/zeromq/build/linux/x64/node/115/addon.node: undefined symbol: uv_unref
I even tried using these bindings made for Deno https://deno.land/x/zeromq@0.0.1 it is unmaintained but i was just testing, and it resulted in following error
error: Uncaught (in promise) TypeError: Class extends value undefined is not a constructor or null
export class StringReader extends Deno.Buffer {
^
at https://deno.land/std@0.84.0/io/readers.ts:9:40
error: Uncaught (in promise) TypeError: Class extends value undefined is not a constructor or null
export class StringReader extends Deno.Buffer {
^
at https://deno.land/std@0.84.0/io/readers.ts:9:40
Is it zeromq library error or is support for libuv or some zeromq package not there in deno yet?
Deno
zeromq@0.0.1 | Deno
Pure Deno bindings for ZeroMQ.
1 Reply
marvinh.
marvinh.2w ago
Sounds like a bug in Deno. Can you file an issue for that over here https://github.com/denoland/deno/issues ?
GitHub
Issues · denoland/deno
A modern runtime for JavaScript and TypeScript. Contribute to denoland/deno development by creating an account on GitHub.

Did you find this page helpful?