deno
deno copied to clipboard
Compatibility node-firebird
Version: Deno 1.38.3
Package: npm: node-firebird
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");
});
callback is never called, under node.js works ok
I managed to trace the internal error that occurs, and the cause is a missing function 'removeAllListeners'. Now, how can we fix it?
TypeError: cb.response.removeAllListeners is not a function
at exports.Connection.Connection.attach (file:///test/firebird/problem_deno/node_modules/.deno/[email protected]/node_modules/node-firebird/lib/index.js:3687:21)
at file:///test/firebird/problem_deno/node_modules/.deno/[email protected]/node_modules/node-firebird/lib/index.js:1757:25
at cb (file:///test/firebird/problem_deno/node_modules/.deno/[email protected]/node_modules/node-firebird/lib/index.js:3615:13)
at doCallback (file:///test/firebird/problem_deno/node_modules/.deno/[email protected]/node_modules/node-firebird/lib/index.js:1368:5)
at file:///test/firebird/problem_deno/node_modules/.deno/[email protected]/node_modules/node-firebird/lib/index.js:3140:21
at decodeResponse (file:///test/firebird/problem_deno/node_modules/.deno/[email protected]/node_modules/node-firebird/lib/index.js:3419:24)
at Socket.
@paulhendrix thanks for opening the issue and sorry for a slow response. Do you still experience this problem using Deno v1.44.x?
Closing this for now, due to lack of response. Please reopen if the problem perists.
the attachment works but if i start db.query nothing happens. No error message, no result. deno 1.45.3 (release, x86_64-apple-darwin)