Skip to content

Runtime issue in Windows #35

@mradamlacey

Description

@mradamlacey

I was able to build successfully in Windows but running into an issue running an example. Command:

node examples/connect.js

output:

Error: %1 is not a valid Win32 application.
D:\Users\alacey\AppData\Roaming\npm\node_modules\oracledb\build\Release\oracledb.node
    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)
    at Object.<anonymous> (D:\Users\alacey\AppData\Roaming\npm\node_modules\oracledb\lib\oracledb.js:23:15)
    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)

Anyone have any success in actually running this module on Windows and connecting successfully?

It appears that the native module loader is attempting to load a 32 bit module, but I do know I built node-oracledb using the 64 bit compiler.

I can confirm that I am running the 64 bit version of node.exe... Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions