D
Deno

help

Active Handles and Requests

Eenozero5/12/2023
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
Eenozero5/13/2023
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.
Eenozero7/29/2023
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.

Looking for more? Join the community!