Open TobeyWins opened 4 years ago
when i let nodered install your node, i get the issue that is not available. Is there a way to solve this?
2019-11-12T18:18:56.723Z [out] Downloading and extraction of DB2 ODBC CLI Driver completed successfully ... 2019-11-12T18:18:56.723Z [out] 2019-11-12T18:18:59.025Z [out] make: Entering directory '/home/pi/.node-red/node_modules/ibm_db/build' 2019-11-12T18:18:59.025Z [out] CXX(target) Release/obj.target/odbc_bindings/src/odbc.o 2019-11-12T18:18:59.025Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/ibm_db/build' 2019-11-12T18:18:59.025Z [out] 2019-11-12T18:18:59.034Z [out] Error: Command failed: node-gyp configure build --IS_DOWNLOADED=true --IBM_DB_HOME="$IBM_DB_HOME" 2019-11-12T18:18:59.034Z [out] In file included from ../src/odbc.cpp:28: 2019-11-12T18:18:59.034Z [out] ../src/odbc.h:27:10: fatal error: sqlcli1.h: No such file or directory 2019-11-12T18:18:59.034Z [out] #include <sqlcli1.h> 2019-11-12T18:18:59.034Z [out] ^~~~~~~~~~~ 2019-11-12T18:18:59.034Z [out] compilation terminated. 2019-11-12T18:18:59.034Z [out] make: *** [odbc_bindings.target.mk:110: Release/obj.target/odbc_bindings/src/odbc.o] Error 1 2019-11-12T18:18:59.034Z [out] gyp ERR! build error 2019-11-12T18:18:59.034Z [out] gyp ERR! stack Error: `make` failed with exit code: 2 2019-11-12T18:18:59.034Z [out] gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) 2019-11-12T18:18:59.034Z [out] gyp ERR! stack at ChildProcess.emit (events.js:210:5) 2019-11-12T18:18:59.034Z [out] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) 2019-11-12T18:18:59.034Z [out] gyp ERR! System Linux 4.19.75-v7+ 2019-11-12T18:18:59.034Z [out] gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" "--IS_DOWNLOADED=true" "--IBM_DB_HOME=/home/pi/.node-red/node_modules/ibm_db/installer/clidriver" 2019-11-12T18:18:59.034Z [out] gyp ERR! cwd /home/pi/.node-red/node_modules/ibm_db 2019-11-12T18:18:59.034Z [out] gyp ERR! node -v v12.13.0 2019-11-12T18:18:59.034Z [out] gyp ERR! node-gyp -v v5.0.5 2019-11-12T18:18:59.034Z [out] gyp ERR! not ok 2019-11-12T18:18:59.034Z [out] 2019-11-12T18:18:59.034Z [out] at ChildProcess.exithandler (child_process.js:295:12) 2019-11-12T18:18:59.034Z [out] at ChildProcess.emit (events.js:210:5) 2019-11-12T18:18:59.034Z [out] at maybeClose (internal/child_process.js:1021:16) 2019-11-12T18:18:59.034Z [out] at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) { 2019-11-12T18:18:59.034Z [out] killed: false, 2019-11-12T18:18:59.034Z [out] code: 1, 2019-11-12T18:18:59.034Z [out] signal: null, 2019-11-12T18:18:59.034Z [out] cmd: 'node-gyp configure build --IS_DOWNLOADED=true --IBM_DB_HOME="$IBM_DB_HOME"' 2019-11-12T18:18:59.034Z [out] } 2019-11-12T18:19:00.411Z [err] npm 2019-11-12T18:19:00.412Z [err] WARN 2019-11-12T18:19:00.412Z [err] node-red-project@0.0.1 No repository field. 2019-11-12T18:19:00.412Z [err] npm 2019-11-12T18:19:00.412Z [err] 2019-11-12T18:19:00.412Z [err] WARN 2019-11-12T18:19:00.412Z [err] node-red-project@0.0.1 No license field. 2019-11-12T18:19:00.413Z [err] 2019-11-12T18:19:00.446Z [err] npm 2019-11-12T18:19:00.446Z [err] ERR! code 2019-11-12T18:19:00.446Z [err] ELIFECYCLE 2019-11-12T18:19:00.446Z [err] npm 2019-11-12T18:19:00.446Z [err] 2019-11-12T18:19:00.446Z [err] ERR! 2019-11-12T18:19:00.446Z [err] 2019-11-12T18:19:00.446Z [err] errno 2019-11-12T18:19:00.446Z [err] 1 2019-11-12T18:19:00.447Z [err] npm 2019-11-12T18:19:00.447Z [err] 2019-11-12T18:19:00.447Z [err] ERR! 2019-11-12T18:19:00.447Z [err] ibm_db@2.6.1 install: `node installer/driverInstall.js` 2019-11-12T18:19:00.447Z [err] npm 2019-11-12T18:19:00.447Z [err] 2019-11-12T18:19:00.447Z [err] ERR! 2019-11-12T18:19:00.447Z [err] Exit status 1 2019-11-12T18:19:00.448Z [err] npm 2019-11-12T18:19:00.448Z [err] 2019-11-12T18:19:00.448Z [err] ERR! 2019-11-12T18:19:00.448Z [err] 2019-11-12T18:19:00.448Z [err] npm 2019-11-12T18:19:00.448Z [err] 2019-11-12T18:19:00.448Z [err] ERR! 2019-11-12T18:19:00.448Z [err] Failed at the ibm_db@2.6.1 install script. 2019-11-12T18:19:00.448Z [err] npm 2019-11-12T18:19:00.448Z [err] 2019-11-12T18:19:00.448Z [err] ERR! 2019-11-12T18:19:00.448Z [err] This is probably not a problem with npm. There is likely additional logging output above. 2019-11-12T18:19:00.504Z [err] 2019-11-12T18:19:00.504Z [err] npm ERR! A complete log of this run can be found in: 2019-11-12T18:19:00.504Z [err] npm ERR! 2019-11-12T18:19:00.504Z [err] /home/pi/.npm/_logs/2019-11-12T18_19_00_473Z-debug.log 2019-11-12T18:19:00.523Z rc=1
when i let nodered install your node, i get the issue that is not available.
Is there a way to solve this?