Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Plugin install error not displayed correctly #954

Closed
t1m0thyj opened this issue Mar 13, 2023 · 0 comments · Fixed by #955
Closed

Plugin install error not displayed correctly #954

t1m0thyj opened this issue Mar 13, 2023 · 0 comments · Fixed by #955
Assignees
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases

Comments

@t1m0thyj
Copy link
Member

t1m0thyj commented Mar 13, 2023

Something broke between CLI versions 7.6.0 and 7.11.0.

Previously the error causing install failure was displayed correctly:

$ zowe --version
7.6.0
$ zowe plugins install .
npm ERR! code ENOWORKSPACES
npm ERR! This command does not support workspaces.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Timothy\AppData\Local\npm-cache\_logs\2023-03-13T18_25_44_278Z-debug-0.log
Command Error:
Install Failed

Now the real error message is missing from the output:

$ zowe --version
7.11.0
$ zowe plugins install .
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 =

_______________________________________________________________
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Installed plugin name = '@zowe/secrets-for-kubernetes-for-zowe-cli'

_____ Validation results for plugin '@zowe/secrets-for-kubernetes-for-zowe-cli' _____

*** CfgError: The path to the plugin does not exist: C:\Users\Timothy\.zowe\plugins\installed\node_modules\@zowe\secrets-for-kubernetes-for-zowe-cli

This plugin has configuration errors. No component of the plugin will be available.
@t1m0thyj t1m0thyj added bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases labels Mar 13, 2023
@t1m0thyj t1m0thyj self-assigned this Mar 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-high Bug for which there may be workaround but limits the usage of the Zowe for major use cases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant