用的oracledb模块。启动demo时候报错。
错误如下:
Error: DPI-1047: Cannot locate a 64-bit Oracle Client library: "The specified module could not be found". See https://oracle.github.io/node-oracledb/INSTALL.html for help
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.
然后我下载了Basic Light包。解压出来是instantclient_19_9文件夹。
里面内容如下:
然后查了几个网上的相关配置,还是连不上报这个错。
我也不知道怎么就好了。。。。
64-bit Oracle Client library
这个提示表明你的oracle instant client库应该不是64位的或者是64位程序看配置路径不对