enozero
enozero14mo ago

Active Handles and Requests

I'm running into an issue with the excel4node NPM library, where after new'ing a Workbook, the program just hangs, like there is an open handle or request. With Node, I could run process._getActiveHandles() and process._getActiveRequests() to see what is active. Is there a way to find active handles and requests with Deno?
import excel from 'npm:excel4node@1.8.2'
const workbook = new excel.Workbook()
// Deno gets hung here
import excel from 'npm:excel4node@1.8.2'
const workbook = new excel.Workbook()
// Deno gets hung here
2 Replies
enozero
enozero14mo ago
I am not getting this issue with Node v18.12.1 (https://replit.com/@andyvanosdale/excel4node-hang-repo)
andyvanosdale
replit
excel4node hang repo
Run Node.js code live in your browser. Write and run code in 50+ languages online with Replit, a powerful IDE, compiler, & interpreter.
enozero
enozero11mo ago
To follow-up, I just updated to the lastest Deno (v1.35.3), and I am not seeing the issue anymore. I was repro'ing this with v1.34.3.