Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

z/osconnect plugin doesn't run after migrate zowe-cli to v2 #102

Open
Josema-Kyndryl opened this issue Mar 17, 2023 · 0 comments
Open

z/osconnect plugin doesn't run after migrate zowe-cli to v2 #102

Josema-Kyndryl opened this issue Mar 17, 2023 · 0 comments

Comments

@Josema-Kyndryl
Copy link

With zowe-cli v1 the zosconnect plugin work fine. However, after migrating zowe-cli to v2 it has stopped doing so (other plugins such as CICS, RSE, MQ, ... they still work perfectly):

jmfernandezp@Josemas-MacBook-Pro ~ % zowe zosconnect service list
Command Error:
Internal Error: No profiles of type "zosconnect" were loaded for this command.
Error Details:
This error can occur for one of two reasons:

  • The "profile" property on the command definition document does NOT specify the requested profile type
  • The profile type is marked "optional", no profiles of type "zosconnect" have been created, and the command handler requested a profile of type "zosconnect" with "failNotFound=true"

I tried to reinstall it and it shows some warning:

jmfernandezp@Josemas-MacBook-Pro ~ % sudo zowe plugins install @zosconnect/zosconnect-zowe-cli
Plug-ins within the Imperative CLI Framework can legitimately gain
control of the zowe CLI application during the execution of every command.
Install 3rd party plug-ins at your own risk.

Registry = https://registry.npmjs.org/


Installed plugin name = '@zosconnect/zosconnect-zowe-cli'

_____ Validation results for plugin '@zosconnect/zosconnect-zowe-cli' _____

*** Warning: The version value (^6.5.0) of the plugin's '@zowe/cli' property is incompatible with the version value (7.10.4) of the zowe command's 'version' property.

*** Warning: The version value (^4.5.0) of the plugin's '@zowe/imperative' property is incompatible with the version value (5.8.3) of the zowe command's '@zowe/imperative' property.

This plugin has warnings, but its commands and framework overrides will still be available.

These are the versions of the elements involved:

jmfernandezp@Josemas-MacBook-Pro ~ % node -v
v18.12.1
jmfernandezp@Josemas-MacBook-Pro ~ % npm -v
9.6.1
jmfernandezp@Josemas-MacBook-Pro ~ % zowe -V
7.10.4
jmfernandezp@Josemas-MacBook-Pro ~ % zowe plugins list

Installed plugins:

. . . . . .

-- pluginName: @zosconnect/zosconnect-zowe-cli
-- package: @zosconnect/zosconnect-zowe-cli
-- version: 1.2.1
-- registry: https://registry.npmjs.org/

. . . . . .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant