MGpai
MGpai3d ago

Issue with ZMQ

Code to reproduce
import { Pull } from "zeromq"

console.log("Hello, world!")


async function run(): Promise<void> {
const sock = new Pull()

// sock.connect("tcp://<192.168.50.10>:9060")
// console.log("Worker connected to port 3000")

// for await (const [msg] of sock) {
// console.log("work: %s", msg.toString())
// }
}

run()
import { Pull } from "zeromq"

console.log("Hello, world!")


async function run(): Promise<void> {
const sock = new Pull()

// sock.connect("tcp://<192.168.50.10>:9060")
// console.log("Worker connected to port 3000")

// for await (const [msg] of sock) {
// console.log("work: %s", msg.toString())
// }
}

run()
version
"zeromq": "^6.1.2"
"zeromq": "^6.1.2"
WSL error output
deno run src/main.ts
✅ Granted all read access.
✅ Granted all ffi access.
deno: symbol lookup error: /node_modules/zeromq/build/linux/x64/node/115/addon.node: undefined symbol: uv_unref
deno run src/main.ts
✅ Granted all read access.
✅ Granted all ffi access.
deno: symbol lookup error: /node_modules/zeromq/build/linux/x64/node/115/addon.node: undefined symbol: uv_unref
Windows doesn't even run
✅ Granted all read access.
✅ Granted ffi access to "\node_modules\zeromq\build\win32\x64\node\115\addon.node".
>
✅ Granted all read access.
✅ Granted ffi access to "\node_modules\zeromq\build\win32\x64\node\115\addon.node".
>
0 Replies
No replies yetBe the first to reply to this messageJoin