Skip to Main Content

Programming Languages & Frameworks

Connecting Oracle DB with nodejs

3422961Jun 6 2018 — edited Jun 6 2018

Hi all,

am using nodejs 10.3.0 version. I have followed the link i specified https://oracle.github.io/node-oracledb/INSTALL.html#instwin .But i got one error while install npm install oracledb .

Please help me to resolve this.

C:\node\oracle>npm install oracledb

npm WARN invalid config https-proxy=""

npm WARN invalid config Must be a full url with 'http://'

npm WARN invalid config https-proxy=""

npm WARN invalid config Must be a full url with 'http://'

> oracledb@2.2.0 install C:\node\oracle\node_modules\oracledb

> node package/oracledbinstall.js

oracledb Beginning installation

oracledb Verifying installation

oracledb Continuing installation

oracledb ERR! NJS-054: Binary build/Release/oracledb.node was not installed.

oracledb ERR! Pre-built binary packages are not available for this version of No

de.js (NODE_MODULE_VERSION="64")

oracledb ERR! Failed to install binary package oracledb-v2.2.0-node-v64-win32-x6

4.gz

oracledb ERR! Error: HTTPS request for https://github.com/oracle/node-oracledb/r

eleases/download/v2.2.0/oracledb-v2.2.0-node-v64-win32-x64.gz failed with code 4

04

oracledb ERR! For help see https://oracle.github.io/node-oracledb/INSTALL.html#t

roubleshooting

npm WARN enoent ENOENT: no such file or directory, open 'C:\node\oracle\package.

json'

npm WARN oracle No description

npm WARN oracle No repository field.

npm WARN oracle No README data

npm WARN oracle No license field.

npm ERR! code ELIFECYCLE

npm ERR! errno 87

npm ERR! oracledb@2.2.0 install: `node package/oracledbinstall.js`

npm ERR! Exit status 87

npm ERR!

npm ERR! Failed at the oracledb@2.2.0 install script.

npm ERR! This is probably not a problem with npm. There is likely additional log

ging output above.

npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\karthick raj\AppData\Roaming\npm-cache\_logs\2018-06-06T08

_06_33_172Z-debug.log

C:\node\oracle>npm -v

npm WARN invalid config https-proxy=""

npm WARN invalid config Must be a full url with 'http://'

6.1.0

C:\node\oracle>node -v

v10.3.0

C:\node\oracle>

pastedImage_3.png

Comments
Post Details
Added on Jun 6 2018
2 comments
1,848 views