node-ibm_db: Error: Could not load the bindings file
Hi,
I installed the package successfully and when running the the code below:
var ibmdb = require('ibm_db')();
This error is returned:
`App threw an error during load
Error: Could not locate the bindings file. Tried:
→ C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\buil
d\odbc_bindings.node
→ C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\buil
d\Debug\odbc_bindings.node
→ C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\buil
d\Release\odbc_bindings.node
→ C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\out\
Debug\odbc_bindings.node
→ C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\Debu
g\odbc_bindings.node
→ C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\out\
Release\odbc_bindings.node
→ C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\Rele
ase\odbc_bindings.node
→ C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\buil
d\default\odbc_bindings.node
→ C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\comp
iled\7.4.0\win32\x64\odbc_bindings.node
at bindings (C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules
\bindings\bindings.js:88:9)
at Object.<anonymous> (C:\Users\s4084934\Documents\ElectronProjects\MDMUI\no
de_modules\ibm_db\lib\odbc.js:27:31)
at Object.<anonymous> (C:\Users\s4084934\Documents\ElectronProjects\MDMUI\no
de_modules\ibm_db\lib\odbc.js:1770:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)`
However, I can see in my folders that the file exists in
C:\Users\s4084934\Documents\ElectronProjects\MDMUI\node_modules\ibm_db\build\Release\odbc_bindings.node
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (9 by maintainers)
Yes same error