Closed surajkrishan closed 1 year ago
Can you cut & paste code? Not everyone can read screen shots.
Also read the doc about initOracleClient() on Linux:
Note on Linux this is only useful to force immediate loading of the libraries because the libraries must also be in the system library search path, i.e. configured with ldconfig or set in LD_LIBRARY_PATH
Hi @cjbj - I actually found the example oracle code which I have followed, and it worked. But I personally feel why we need a separate client lib to be placed alongside with code. It should be part of node_module itself would be really great.
I know Oracle team can do it easily 😃
@surajkrishan check out https://github.com/oracle/node-oracledb/issues/1497
?
What versions are you using?
"oracledb": "^5.4.0",
Getting DPI-1047 error even tho i have given the path of oracle client lib.