zowe / zowe-cli-db2-plugin

DB2 Plugin for the Zowe CLI
Eclipse Public License 2.0
8 stars 16 forks source link

Failed to install db2 plugin. #42

Closed LiangXuehongBJ closed 1 year ago

LiangXuehongBJ commented 4 years ago

I failed to install db2 plugin with Zowe 1.0, 1.2, 1.5, 1.7 on Linux. OS: Red Hat Enterprise Linux Server release 7.6 (Maipo) Nodejs: v10.17.0

Here are error logs: 11973 silly install yargs-parser@7.0.0 11974 info lifecycle yargs-parser@7.0.0~install: yargs-parser@7.0.0 11975 silly install yargs@8.0.2 11976 info lifecycle yargs@8.0.2~install: yargs@8.0.2 11977 silly install @brightside/imperative@2.6.0 11978 info lifecycle @brightside/imperative@2.6.0~install: @brightside/imperative@2.6.0 11979 silly install ibm_db@2.5.0 11980 info lifecycle ibm_db@2.5.0~install: ibm_db@2.5.0 11981 verbose lifecycle ibm_db@2.5.0~install: unsafe-perm in lifecycle false 11982 verbose lifecycle ibm_db@2.5.0~install: PATH: /usr/lib/node_modules/@brightside/core/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/root/.zowe/plugins/installed/lib/node_modules/@brightside/db2/node_modules/ibm_db/node_modules/.bin:/root/.zowe/plugins/installed/lib/node_modules/@brightside/db2/node_modules/.bin:/root/.zowe/plugins/installed/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin 11983 verbose lifecycle ibm_db@2.5.0~install: CWD: /root/.zowe/plugins/installed/lib/node_modules/@brightside/db2/node_modules/ibm_db 11984 silly lifecycle ibm_db@2.5.0~install: Args: [ '-c', 'node installer/driverInstall.js' ] 11985 silly lifecycle ibm_db@2.5.0~install: Returned: code: 1 signal: null 11986 info lifecycle ibm_db@2.5.0~install: Failed to exec install script 11987 timing action:install Completed in 552ms 11988 verbose unlock done using /root/.npm/_locks/staging-be9b1d97b83c4b43.lock for /root/.zowe/plugins/installed/lib/node_modules/.staging 11989 timing stage:rollbackFailedOptional Completed in 775ms 11990 timing stage:runTopLevelLifecycles Completed in 16967ms 11991 warn @brightside/db2@2.1.1 requires a peer of @brightside/core@>=2.0.0-0 but none is installed. You must install peer dependencies yourself. 11992 warn @brightside/db2@2.1.1 requires a peer of @brightside/imperative@>=2.0.0-0 but none is installed. You must install peer dependencies yourself. 11993 warn bootstrap@4.3.1 requires a peer of popper.js@^1.14.7 but none is installed. You must install peer dependencies yourself. 11994 verbose stack Error: ibm_db@2.5.0 install: node installer/driverInstall.js 11994 verbose stack Exit status 1 11994 verbose stack at EventEmitter. (/usr/lib/node_modules/@brightside/core/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16) 11994 verbose stack at EventEmitter.emit (events.js:198:13) 11994 verbose stack at ChildProcess. (/usr/lib/node_modules/@brightside/core/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 11994 verbose stack at ChildProcess.emit (events.js:198:13) 11994 verbose stack at maybeClose (internal/child_process.js:982:16) 11994 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 11995 verbose pkgid ibm_db@2.5.0 11996 verbose cwd /root/.zowe/plugins 11997 verbose Linux 3.10.0-1062.4.1.el7.x86_64 11998 verbose argv "/usr/bin/node" "/usr/lib/node_modules/@brightside/core/node_modules/npm" "install" "/root/Downloads/zowe-db2.tgz" "--prefix" "/root/.zowe/plugins/installed" "-g" "--registry" "https://registry.npmjs.org/" 11999 verbose node v10.17.0 12000 verbose npm v6.10.0 12001 error code ELIFECYCLE 12002 error errno 1 12003 error ibm_db@2.5.0 install: node installer/driverInstall.js 12003 error Exit status 1 12004 error Failed at the ibm_db@2.5.0 install script. 12004 error This is probably not a problem with npm. There is likely additional logging output above. 12005 verbose exit [ 1, true ]

zFernand0 commented 1 year ago

Unable to reproduce this issue with newer versions of the db2 plug-in. Closing.

Hey @LiangXuehongBJ, Please feel free to open a new issue if you are still experiencing issues with the DB2 plug-in installation.