Closed FALLAI-Denis closed 1 year ago
I think the problem comes from the fact that the ODBC driver needed to install the plugin no longer exists at the location referenced at the time of the first installation.
Apparently, the installation process rebuilds part of the plugin, which in fact poses problems when changing the version of npm: during validation, the plugin detects a version inconsistency on npm.
Hi Denis!
I'm fairly young and new to the Zowe project, so I haven't looked at the code base yet. May I ask, how exactly did you uninstall for the @zowe/db2-for-zowe-cli
? I entered npm uninstall --global @zowe/db2-for-zowe-cli
and npm uninstall @zowe/db2-for-zowe-cli
way down below and the output says up to date
.
I need to give you the proper amount of context, so before I entered the following commands I went nuclear and:
npm uninstall --global @zowe/cli
.zowe
folder in my top-level user directoryzowe-cli-packages-1.26.0
and zowe-cli-plugins-1.26.0
that my organization gives me to use the .tgz's.Then I install the Zowe CLI from scratch:
Where I differ from you must be how I uninstall the Db2 package. If you are confused too, give me a confused emoji 😕
Like a good neighbor, Connor
@connorpekovic Have you downloaded the ODBC driver before installing the DB2 plugin from a TGZ, as documented here? https://docs.zowe.org/stable/user-guide/cli-db2plugin#installing-from-a-local-package
@t1m0thyj I have not, working on that now, thanks.
Hey @connorpekovic, Did the issue go away after downloading the ODBC driver before installing? If so, can we close this issue?
Please close the issue. Sadly, I'm not with the organizing that runs on Z anymore.
When updating
@zowe/cli
by npm, a validation phase of the Zowe plugins is triggered. Validating the@zowe/db2-for-zowe-cli
plugin triggers error messages:Actions:
@zowe/db2-for-zowe-cli
(version 4.0.7)@zowe/db2-for-zowe-cli
from npm registry (same version 4.0.7)@zowe/db2-for-zowe-cli
: OK....Strange ?
This is not the first time that the
@zowe/db2-for-zowe-cli
plugin become unusable and requires a complete uninstall / reinstallation.