abreits / node-red-contrib-oracledb

Node-RED oracle database nodes
8 stars 15 forks source link

contrib-oracledb not installing #20

Open hjboven opened 6 years ago

hjboven commented 6 years ago

I'm trying to setup an Ubuntu Server LTS version and got near to completion , but not quite to the end.

I installed all according to the attached File Install list for NodeRed.txt

I got to the point where I tried to install the node Oracledb. Yet her I run into a Problem

I installed with "sudo npm install -g node-red-contrib-oracledb" and get npm WARN lifecycle oracledb@1.13.1~install: cannot run in wd %s %s (wd=%s) oracledb@1.13.1 node-gyp rebuild /usr/local/lib/node_modules/node-red-contrib-oracledb/node_modules/oracledb

What ever I do I don't seem to come forward from here.

Does any of you have a suggestion what I did wrong or what is missing in my Procedure???

ctlemp2018 commented 6 years ago

it seems you forgot to install oracledb for nodejs. You need the oracle client tools on your ubuntu system as you have done (alien the packages from rpm to deb). Then when you have nodejs installed and the npm tool you can do

npm install oracledb

after that you can install the node-red-contrib-oracledb

hjboven commented 6 years ago

Thank you I wil do so on the next setup. It worked on this setup afther I reinstalled oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm a second time. I got a tip it sometimes does not report a failed install.