zowe / zowe-cli-db2-plugin

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

[Doc] xcode is a pre-req on Mac for the db2 plugin #37

Closed solsu01 closed 4 years ago

solsu01 commented 4 years ago

I've been struggling to install the db2 plugin on my Mac for a long time. @zFernand0 helped me debug the issue and we found that the plugin installation was failing because of xcode missing on my Mac. xcode is a pre-req for the node ibm-db package that is uses by the zowe cli db2 plugin. Once we installed xcode, the db2 plugin installation worked. The doc should probably be updated to indicate this requirement.

Following is the error I used to see:

npm WARN @zowe/db2@3.0.1 requires a peer of @zowe/imperative@^3.0.0 but none is installed. You must install peer dependencies yourself.

npm WARN @zowe/db2@3.0.1 requires a peer of @zowe/cli@^3.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! ibm_db@2.5.0 install: `node installer/driverInstall.js`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the ibm_db@2.5.0 install script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/solsu01/.npm/_logs/2019-05-29T12_09_33_512Z-debug.log

Command Error:

Install Failed
jalel01 commented 4 years ago

Good to hear!

@IgorCATech could we make a small addition to the DB2 plugin doc pls.

BrandonJenkins14 commented 4 years ago

PR #763 closed this issue.

BrandonJenkins14 commented 4 years ago

Oops, I see that we added the req to Docs Site, but not to this readme. I'll add that now.