GithubHelp home page GithubHelp logo

Comments (8)

toblender avatar toblender commented on July 3, 2024

If you are still having troubles with this check out:

http://stackoverflow.com/questions/22183165/npm-install-odbc-fails-on-osx-and-ubuntu/25748907#25748907

from node-ibm_db.

pmuellr avatar pmuellr commented on July 3, 2024

If that's the best answer that can be provided for this situation, then perhaps the pre-/install script could be configured to print the URL when installing. And put the URL in the README.md as well, under a "Troubleshooting" header.

from node-ibm_db.

mariobriggs avatar mariobriggs commented on July 3, 2024

@pmuellr late reply i know. In 0.0.6 we upgraded the windows and linux install of the npm to download its dependencies (odbc/sql stuff). Still not there yet on Mac, since we dont yet have a dependent module bundle of the right size (but looks like that might get fixed soon). Until then updated the readme that calls out to install DB2Express-C first when on Mac (not yet a message during npm install :-( )

from node-ibm_db.

mariobriggs avatar mariobriggs commented on July 3, 2024

version 0.0.8 now automatically downloads required dependencies on Mac OS. Give it a try ( v 0.12 not supported as of today :-) )

from node-ibm_db.

mil avatar mil commented on July 3, 2024

(osx 10.9.5) ibm_db throws:

~/D/r/projectregistrationapp > npm install
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
\
> [email protected] install /Users/mil/Desktop/repos/projectregistrationapp/node_modules/ibm_db
> node installer/driverInstall.js

Downloading DB2 ODBC CLI Driver from http://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/macos64_odbc_cli.tar.gz...

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: EACCES, open '/Users/mil/Desktop/repos/projectregistrationapp/node_modules/ibm_db/installer/clidriver/msg/en_US.iso88591/db2adm.mo'

npm ERR! [email protected] install: `node installer/driverInstall.js`
npm ERR! Exit status 8
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the ibm_db package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node installer/driverInstall.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls ibm_db
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/mil/Desktop/repos/projectregistrationapp
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.5.0-alpha-4
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/mil/Desktop/repos/projectregistrationapp/npm-debug.log
npm ERR! not ok code 0

any tips @mariobriggs

from node-ibm_db.

avikalar avatar avikalar commented on July 3, 2024

@mil EACESS error code means permission denied, does the user running the install command has sufficient privileges ? Can you send me the complete error trace, if there are any ?

from node-ibm_db.

mil avatar mil commented on July 3, 2024

Problem had to do with old deps in the filesystem. rm node_modules && npm install fixes.

from node-ibm_db.

avikalar avatar avikalar commented on July 3, 2024

@mil: glad to know that your issue is fixed

from node-ibm_db.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.