node-odbc icon indicating copy to clipboard operation
node-odbc copied to clipboard

Error: %1 is not a valid Win32 application.

Open kbjr opened this issue 11 years ago • 4 comments

I'm getting this error just by requiring the module. The stack trace is here:

Error: %1 is not a valid Win32 application.
c:\...\node_modules\odbc\build\Release\odbc_bindings.node
    at Error (native)
    at Module.load (module.js:352:32)
    at Function.Module._load (module.js:308:12)
    at Module.require (module.js:360:17)
    at require (module.js:376:17)
    at bindings (C:\...\node_modules\odbc\node_modules\bindings\bindings.js:74:15)
    at Object.<anonymous> (C:\...\node_modules\odbc\lib\odbc.js:18:31)
    at Module._compile (module.js:452:26)
    at Object.Module._extensions..js (module.js:470:10)
    at Module.load (module.js:352:32)

This is running on Windows 7 64-bit. Node v0.10.30

kbjr avatar Aug 17 '14 02:08 kbjr

Did you compile the module yourself?

CoDEmanX avatar Nov 03 '14 13:11 CoDEmanX

I don't remember the specifics, this was a while ago and we ended up using a different module. I want to say that this was installed using npm install, not by any manual process.

kbjr avatar Nov 04 '14 13:11 kbjr

Hi kbjr, would you be so kind and tell us what module you ended up using?

cosmin-novac avatar Jan 06 '15 16:01 cosmin-novac

I believe we ended up using node-adodb

kbjr avatar Jan 07 '15 06:01 kbjr