node-db-oracle icon indicating copy to clipboard operation
node-db-oracle copied to clipboard

Install failes

Open dimitrib opened this issue 12 years ago • 1 comments

While installing on Oracle Linux 6 getting the following:

$ npm install db-oracle npm http GET https://registry.npmjs.org/db-oracle npm http 304 https://registry.npmjs.org/db-oracle

[email protected] install /home/user1/node_modules/db-oracle node-waf configure build

sh: node-waf: command not found

[email protected] preuninstall /home/user1/node_modules/db-oracle rm -rf build/*

npm ERR! [email protected] install: node-waf configure build npm ERR! sh "-c" "node-waf configure build" failed with 127 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is most likely a problem with the db-oracle package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-waf configure build npm ERR! You can get their info via: npm ERR! npm owner ls db-oracle npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.39-400.17.1.el6uek.x86_64 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "db-oracle" npm ERR! cwd /home/user1/dev/Sublime Text 2 npm ERR! node -v v0.11.2-pre npm ERR! npm -v 1.2.18 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/user1/dev/Sublime Text 2/npm-debug.log npm ERR! not ok code 0

dimitrib avatar Jun 05 '13 21:06 dimitrib

I've been struggling witht his for hours, here is the work around.

Node.js does not support node-waf anymore and therefore this project needs to be update. To install this anyways, 1)Install a lower version of node.js. I noticed this project has not been updated ina about a years so I selected node.js v0.6.4 which came out a year ago. 2) re-run installation 3) now that you have the package installed you may upgrade node.js (cross your fingers that it works or you might have to go back down to a lower version. You'll run into problems if you try to reinstall db-oracle).

For mariano- I propose an upgrade to this project to make it get off node-waf to the next build system node.js is using, node-gyp.

SyntaxRules avatar Jun 06 '13 14:06 SyntaxRules