-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
I am trying to run some Oracle query on an Electron project. When I just run the script alone everything works, but when I run it into my Electron project I keep having this error :
App threw an error during load
Error: NJS-045: cannot load the oracledb add-on binary for Node.js 8.9.3 (win32, x64)
Cannot load C:\Users\Chinmoy Samanta\Desktop\try-it-now\node_modules\oracledb\build\Release\oracledb.node
The system cannot find message text for message number 0x%1 in the message file for %2.
\\?\C:\Users\Chinmoy Samanta\Desktop\try-it-now\node_modules\oracledb\build\Release\oracledb.node
Node-oracledb installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html
You must have 64-bit Oracle client libraries in your PATH environment variable.
If you do not have Oracle Database on this computer, then install the Instant Client Basic or Basic Light package from
http://www.oracle.com/technetwork/topics/winx64soft-089540.html
A Microsoft Visual Studio Redistributable suitable for your Oracle client library version must be available.
at Object.<anonymous> (C:\Users\Chinmoy Samanta\Desktop\try-it-now\node_modules\oracledb\lib\oracledb.js:69:13)
at Object.<anonymous> (C:\Users\Chinmoy Samanta\Desktop\try-it-now\node_modules\oracledb\lib\oracledb.js:602:3)
at Module._compile (module.js:642:30)
at Object.require.extensions.(anonymous function) [as .js] (C:\Users\Chinmoy Samanta\Desktop\try-it-now\node_modules\electron-compile\lib\require-hook.js:77:14)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\Users\Chinmoy Samanta\Desktop\try-it-now\node_modules\oracledb\index.js:1:173)