首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行node.js API

运行node.js API
EN

Stack Overflow用户
提问于 2018-05-24 07:55:03
回答 1查看 158关注 0票数 0

我目前正尝试在我的系统上运行node.js API,安装了Oracle 11g 64位,节点版本为6.9.2 64位,但它引发以下错误:

代码语言:javascript
复制
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,我已经验证过了。

代码语言:javascript
复制
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

需要帮助解决这个问题,因为我不知道链接丢失在哪里。

EN

回答 1

Stack Overflow用户

发布于 2018-05-24 08:36:34

  1. 您的系统中安装了Oracle DB吗?
  2. Oracle客户端库是否安装在系统中并添加到PATH环境变量中?
  3. 您的系统中是否安装了?

请检查上面的依赖项,然后再试一次。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50503939

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档