简体   繁体   English

使用节点量角器js连接oracledb

[英]Connect oracledb using node protractor js

I'm trying to connect the oracle db using Protractor JS file. 我正在尝试使用Protractor JS文件连接oracle db。 I know using oracledb module we can able to connect. 我知道使用oracledb模块就可以连接。 But the installation of oracledb have more dependencies, Hence I can't able to use that one. 但是oracledb的安装有更多的依赖性,因此我无法使用那个。

I have tried with oracledb-pd node but getting the below error: 我已经尝试过使用oracledb-pd节点,但收到以下错误:

 Error: The specified path is invalid.
   \\?\..\..\node_modules\oracledb-pb\build\Release\oracledb.node

If there any other way to connect the oracle db using node protractor js file. 如果还有其他方法可以使用节点量角器js文件连接oracle db。

Install oracle instant client and Adminitrator. 安装oracle Instant Client和Adminitrator。 Then Set OCI_INC_DIR and OCI_LIB_DIR path in system enviornment variable. 然后在系统环境变量中设置OCI_INC_DIR和OCI_LIB_DIR路径。 Run command prompt as Administrator and try again oracledb installation. 以管理员身份运行命令提示符,然后重试oracledb安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM