安装oracle 后没有服务器,在服务器上安装instantclient后node仍然无法连接到oracle数据库...

明明已经安装了instantclient ,并且设置了path路径 但是还是出错

报错如下:

E:\Dormsys\update_stu_info\node_modules\oracledb\lib\oracledb.js:65

throw new Error(nodbUtil.getErrorMessage('NJS-045', nodeInfo));

^

Error: NJS-045: cannot load the oracledb add-on binary for Node.js 8.11.2 (win32, x64)

Node.js require() error was:

DPI-1047: 64-bit Oracle Client library cannot be loaded: "The specified module could not be found". See https://oracle.github.io/odpi/doc/installation.html#windows for help

Node.js require() mapped to E:\Dormsys\update_stu_info\node_modules\oracledb\build\Release\oracledb.node

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.

at Object. (E:\Dormsys\update_stu_info\node_modules\oracledb\lib\oracledb.js:65:13)

at Module._compile (module.js:652:30)

at Object.Module._extensions..js (module.js:663:10)

at Module.load (module.js:565:32)

at tryModuleLoad (module.js:505:12)

at Function.Module._load (module.js:497:3)

at Module.require (module.js:596:17)

at require (internal/module.js:11:18)

at Object. (E:\Dormsys\update_stu_info\node_modules\oracledb\index.js:1:80)

at Module._compile (module.js:652:30)

[Finished in 0.4s]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值