{ [Error: Command failed: /bin/sh -c node-gyp configure build --IBM_DB_HOME=$IBM_DB_HOME --IS_DOWNLOADED=true
make: *** No rule to make target `Atlantis/atlantis_dev/node_modules/ibm_db/installer/clidriver'. Stop.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" "--IBM_DB_HOME=/Users/michaelchen/Desktop/AACoC/Project" "Atlantis/atlantis_dev/node_modules/ibm_db/installer/clidriver" "--IS_DOWNLOADED=true"
gyp ERR! cwd /Users/michaelchen/Desktop/AACoC/Project Atlantis/atlantis_dev/node_modules/ibm_db
gyp ERR! node -v v4.3.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
]
killed: false,
code: 1,
signal: null,
cmd: '/bin/sh -c node-gyp configure build --IBM_DB_HOME=$IBM_DB_HOME --IS_DOWNLOADED=true' }
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! ibm...@0.0.19 install: `node installer/driverInstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ibm...@0.0.19 install script 'node installer/driverInstall.js'.
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! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! path npm-debug.log.fa0818df654fba74bea5b7774e51d7ce
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.fa0818df654fba74bea5b7774e51d7ce'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES: permission denied, open 'npm-debug.log.fa0818df654fba74bea5b7774e51d7ce']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: 'npm-debug.log.fa0818df654fba74bea5b7774e51d7ce' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/michaelchen/Desktop/AACoC/Project Atlantis/atlantis_dev/npm-debug.log
Does anyone know what to do with this error? Thanks!
Hi,
Please provide the complete npm install output. The main error is missing from the pasted text.
I checked on OSX14.5 using node.js 4.3.2 and it seems working for me.
/Users/bimaljha/nodework/installs> node -v
v4.3.2
/Users/bimaljha/nodework/installs> npm -v
2.14.12
/Users/bimaljha/nodework/installs> npm install ibm_db
npm WARN deprecated grace...@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
\
> ibm...@0.0.19 install /Users/bimaljha/nodework/installs/node_modules/ibm_db
> node installer/driverInstall.js
IBM_DB_HOME environment variable have already been set to /Users/bimaljha/clidriver
CXX(target) Release/obj.target/odbc_bindings/src/odbc.o
CXX(target) Release/obj.target/odbc_bindings/src/odbc_connection.o
CXX(target) Release/obj.target/odbc_bindings/src/odbc_statement.o
CXX(target) Release/obj.target/odbc_bindings/src/odbc_result.o
CXX(target) Release/obj.target/odbc_bindings/src/dynodbc.o
SOLINK_MODULE(target) Release/odbc_bindings.node
undefined
ibm...@0.0.19 node_modules/ibm_db
├──bind...@1.0.0
├──n...@2.2.0
├──fst...@1.0.8 (inhe...@2.0.1, grace...@4.1.3, mkd...@0.5.1, rim...@2.5.2)
├──un...@0.1.11 (setimm...@1.0.4, match-...@0.0.2, readabl...@1.0.33, pulls...@0.4.1, bin...@0.3.0, fst...@0.1.31)
└──tar...@0.1.1 (comm...@1.1.1, t...@0.1.20, fst...@0.1.31)
/Users/bimaljha/nodework/installs> uname -a
Darwin bimals-mbp.in.ibm.com 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64
/Users/bimaljha/nodework/installs>
Thanks and Regards,
Bimal Jha