-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno #320
Comments
I managed to trace the internal error that occurs, and the cause is a missing function 'removeAllListeners'. TypeError: cb.response.removeAllListeners is not a function |
Great! |
With the update to version 1.1.9, I had to redo the changes. I will attach the files here. I haven't done a full test yet, but it appears to be working. |
Your change appears to be working correctly in both Deno and Node.js. It would be great if we could update this change in the official version of node-firebird, or alternatively, add the improved node-firebird module to https://jsr.io ? |
I've noticed another problem with handling the pool in the file pool.js |
test.js:
import * as fb from "npm:node-firebird";
let options = {};
options.host = "localhost";
options.port = 3050;
options.database = "test1";
options.user = "SYSDBA";
options.password = "masterkey";
fb.attach(options, function (err, db) {
console.log("debug1");
});
deno run -A test.js
under deno callback is never called, under node.js works ok
The text was updated successfully, but these errors were encountered: