Skip to content

Error: %1 is not a valid Win32 application. #179

@shikelong

Description

@shikelong

platform: windows 10 64bit
node Version: v0.12.2

the error info

 C:\Users\shikelong\Desktop\爬\spider_node\app>node oracledbtest.js
C:\Users\shikelong\AppData\Roaming\npm\node_modules\oracledb\lib\oracledb.js:28
    throw err;
          ^
Error: %1 is not a valid Win32 application.
C:\Users\shikelong\AppData\Roaming\npm\node_modules\oracledb\build\Release\oracledb.node
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (C:\Users\shikelong\AppData\Roaming\npm\node_modules\oracledb\lib\oracledb.js:23:15)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

my path setting:

Path: C:\instantclient_12_1;
OCI_INC_DIR: C:\instantclient_12_1\sdk\include
OCI_LIB_DIR: C:\instantclient_12_1\sdk\lib\msvc

I had readed the issue 35
But my Path is Ok.and the oci.dll existed. So what error about my environment? thx.

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