-
Notifications
You must be signed in to change notification settings - Fork 8
Description
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/
. . . . . .