We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am on Ubuntu x86, followed all steps of the Readme, and "npm install" gave no error, but when i run npm test (loglevel verbose) i get:
root@vic-apache:/home/vic/oracle/node-oracle-master# source pre_install_check.sh /usr/lib/oracle/11.2/client/lib everythings looks dandy OCI_HOME: /usr/lib/oracle/11.2/client OCI_LIB_DIR: /usr/lib/oracle/11.2/client/lib OCI_INCLUDE_DIR: /usr/include/oracle/11.2/client/ root@vic-apache:/home/vic/oracle/node-oracle-master# npm install npm info it worked if it ends with ok npm verb cli [ 'node', npm verb cli '/usr/bin/npm', npm verb cli 'install' ] npm info using npm@1.1.4 npm info using node@v0.6.12 npm verb config file /root/.npmrc npm verb config file /usr/etc/npmrc npm verb config file /usr/share/npm/npmrc npm verb caching /home/vic/oracle/node-oracle-master/package.json npm verb loadDefaults oracle@0.3.4 npm verb readDependencies: using package.json deps npm verb where, deps [ '/home/vic/oracle/node-oracle-master', npm verb where, deps [ 'nodeunit' ] ] npm verb from cache /home/vic/oracle/node-oracle-master/package.json npm info preinstall oracle@0.3.4 npm verb caching /home/vic/oracle/node-oracle-master/node_modules/nodeunit/package.json npm verb from cache /home/vic/oracle/node-oracle-master/package.json npm verb readDependencies: using package.json deps npm verb from cache /home/vic/oracle/node-oracle-master/node_modules/nodeunit/package.json npm verb already installed in /home/vic/oracle/node-oracle-master skipping nodeunit@~>0.8.0 npm info build /home/vic/oracle/node-oracle-master npm verb from cache /home/vic/oracle/node-oracle-master/package.json npm verb linkStuff [ false, npm verb linkStuff false, npm verb linkStuff false, npm verb linkStuff '/home/vic/oracle' ] npm info linkStuff oracle@0.3.4 npm verb linkBins oracle@0.3.4 npm verb linkMans oracle@0.3.4 npm verb rebuildBundles oracle@0.3.4 npm verb rebuildBundles [ '.bin', 'nodeunit' ] npm info install oracle@0.3.4 npm info postinstall oracle@0.3.4 npm verb exit [ 0, true ] npm info ok root@vic-apache:/home/vic/oracle/node-oracle-master# npm test npm info it worked if it ends with ok npm verb cli [ 'node', '/usr/bin/npm', 'test' ] npm info using npm@1.1.4 npm info using node@v0.6.12 npm verb config file /root/.npmrc npm verb config file /usr/etc/npmrc npm verb config file /usr/share/npm/npmrc npm verb caching /home/vic/oracle/node-oracle-master/package.json npm verb loadDefaults oracle@0.3.4 npm verb run-script [ 'pretest', 'test', 'posttest' ] npm info pretest oracle@0.3.4 npm info test oracle@0.3.4 npm verb unsafe-perm in lifecycle true > oracle@0.3.4 test /home/vic/oracle/node-oracle-master > nodeunit test/integration.js test/outparams.js module.js:311 throw err; ^ Error: Cannot find module '../build/Release/oracle_bindings' at Function._resolveFilename (module.js:332:11) at Function._load (module.js:279:25) at Module.require (module.js:354:17) at require (module.js:370:17) at Object.<anonymous> (/home/vic/oracle/node-oracle-master/lib/oracle.js:2:16) at Module._compile (module.js:441:26) at Object..js (module.js:459:10) at Module.load (module.js:348:32) at Function._load (module.js:308:12) at Module.require (module.js:354:17) npm info oracle@0.3.4 Failed to exec test script npm ERR! oracle@0.3.4 test: `nodeunit test/integration.js test/outparams.js` npm ERR! `sh "-c" "nodeunit test/integration.js test/outparams.js"` failed with 1 npm ERR! npm ERR! Failed at the oracle@0.3.4 test script. npm ERR! This is most likely a problem with the oracle package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! nodeunit test/integration.js test/outparams.js npm ERR! You can get their info via: npm ERR! npm owner ls oracle npm ERR! There is likely additional logging output above. npm ERR! npm ERR! System Linux 3.2.0-33-generic-pae npm ERR! command "node" "/usr/bin/npm" "test" npm ERR! cwd /home/vic/oracle/node-oracle-master npm ERR! node -v v0.6.12 npm ERR! npm -v 1.1.4 npm ERR! code ELIFECYCLE npm ERR! message oracle@0.3.4 test: `nodeunit test/integration.js test/outparams.js` npm ERR! message `sh "-c" "nodeunit test/integration.js test/outparams.js"` failed with 1 npm ERR! errno {} npm verb exit [ 1, true ] npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/vic/oracle/node-oracle-master/npm-debug.log npm not ok
The text was updated successfully, but these errors were encountered:
I could fix my problem by installing the latest nodejs version:
sudo apt-get remove nodejs sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs sudo npm cache clear
I also removed the node-oracle-master folder since it was cluttered with old temp files.
Sorry, something went wrong.
No branches or pull requests
I am on Ubuntu x86, followed all steps of the Readme, and "npm install" gave no error, but when i run npm test (loglevel verbose) i get:
The text was updated successfully, but these errors were encountered: