Any time I try and use Deno with npm:[email protected], running my code has absolutely no output whatsoever, even breaking console.log() at the beginning of the file. I've tried running with a debugger but I get no output there too.
This is the module I'm trying to run, which wraps around the C library Libzmq under the hood. https://github.com/zeromq/zeromq.js
// minimal-repro.ts
// deno run --allow-all minimal-repro.ts
import * as zmq from "npm:[email protected]";
console.log("testing");
const sock = new zmq.Request(); // commenting this out will fix showing "testing" in console
deno 1.38.3 (release, x86_64-pc-windows-msvc)
v8 12.0.267.1
typescript 5.2.2Edition Windows 11 Pro
Version 23H2
Installed on 09/05/2023
OS build 22631.2787
Experience Windows Feature Experience Pack 1000.22681.1000.0
This is my first time with Deno and I think I'm pushing the limits of npm/node compatibility right off the bat. I wanted to use Deno for my assignment to get some experience with it as it really appeals to me over Node.js.
I've attached screenshots comparing what happens when I run with/without commenting out the usage of the zeromq library.
I'm confused why I'd get no output whatsoever, with console.log() suddenly stop working.
Please suggest how I can try and run Deno more verbose/debug logs, or any other recommendations so I can get this working. 🙂