nuintun / node-adodb

A node.js javascript client implementing the ADODB protocol on windows.
https://nuintun.github.io/node-adodb
MIT License
185 stars 51 forks source link

Error thrown on module require statement #1

Closed securitybites closed 10 years ago

securitybites commented 10 years ago

When loading the module with:

var ADODB = require('node-adodb');

The following error occurs:

path.js:360
        throw new TypeError('Arguments to path.join must be strings');
              ^
TypeError: Arguments to path.join must be strings
    at exports.join (path.js:360:15)
    at Array.filter (native)
    at Object.exports.join (path.js:358:36)
    at Object.<anonymous> (/Users/user1/Desktop/Development/dashboard/node_modules/node-adodb/lib/process.js:12:30)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)

Process finished with exit code 8
securitybites commented 10 years ago

I realized this is because I am on a Mac and it doesn't have the MSAccess Drivers needed to this module to run. Runs great on windows.