用的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文件夹。
里面内容如下:
然后查了几个网上的相关配置,还是连不上报这个错。
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- google-drive can't get push notifications
- Can I skip certificate verification oracle utl_htt
- How to reimport module with ES6 import
- Why is `node.js` dying when called from inside pyt
- node连接远程oracle报错
- oracle 11g expdp导出作业调用失败,提示丢包。
- 执行一复杂的SQL语句效率高,还是执行多少简单的语句效率高
- How can make folder with Firebase Cloud Functions
- Oracle equivalent of PostgreSQL INSERT…RETURNING *
- @angular-cli install fails with deprecated request
- node.js modify file data stream?
- How to resolve hostname to an ip address in node j
我也不知道怎么就好了。。。。
64-bit Oracle Client library
这个提示表明你的oracle instant client库应该不是64位的或者是64位程序看配置路径不对