我目前正尝试在我的系统上运行node.js API,安装了Oracle 11g 64位,节点版本为6.9.2 64位,但它引发以下错误:
Error: NJS-045: cannot load the oracledb add-on binary for Node.js
6.9.2 (win32, x64) Node.js require() error was: DPI-1047: 64-bit Oracle Client library cannot be loaded:
"E:\app\Administrator\product\11.2.0\client_1\BIN\oci.dll is not the
correct architecture". See https://oracle.github.io/odpi/doc/
installation.html#windows for help它还会提示到check the availability of 64-bit Oracle client libraries in the PATH environment variable,我已经验证过了。
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.此外,还安装了Microsoft Visual C++ Redistribitable 64bit 2012,2013,2015。
需要帮助解决这个问题,因为我不知道链接丢失在哪里。
发布于 2018-05-24 08:36:34
请检查上面的依赖项,然后再试一次。
https://stackoverflow.com/questions/50503939
复制相似问题