dbconn.conn() Fails When 4 Arguments are Passed

Issue #41 resolved
David Russo created an issue

In recent versions, calls like this:

dbconn.conn("*LOCAL", "YOUR_USRPRF", "YOUR_PASSWORD", function() {});

Fail with an error like this:

Error: An object was expected at Object.<anonymous> (/home/drusso/idbtest/index.js:5:8) at Module._compile (module.js:653:30) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Function.Module.runMain (module.js:694:10) at startup (bootstrap_node.js:204:16) at bootstrap_node.js:625:3

I've attached a simple example that reproduces the error. The code works correctly with version 1.0.13 but fails with any later version, including 1.1.2.

Comments (5)

  1. David Russo reporter

    The fix seems to work, although it seems that the prebuilt binary download for ABI v57 (Node.js 8) is missing. Will this binary be supplied?

  2. Log in to comment