When trying to install the OPS plugin with npm user encounters the following :
Error: <Zowe_home_directory>\.zowe\plugins\installed\node_modules\@broadcom\ops-for-zowe-cli\package.json: ENOENT: no such file or directory, open '<Zowe_home_directory>\.zowe\plugins\installed\node_modules\@broadcom\ops-for-zowe-cli\package.json'
Run the following:
npm view @broadcom/ops-for-zowe-cli
That command should display output similar to the following.
@broadcom/[email protected] | SEE LICENSE IN LICENSE | deps: none | versions: 34
OPS/MVS Plug-in for Zowe CLI
keywords: zowe, cli, ops, zos, zowe-cli, mainframe, plugin
dist
.tarball: https://<The_NPM_Registry_that_user _use>/@broadcom/ops-for-zowe-cli/-/@broadcom/ops-for-zowe-cli-5.3.3.tgz
.shasum: b2a10d821f8dbb686c4434e615f754690dd01148
.integrity: sha512-+yvycSvqRdxlhy7pKBYnJm/o0isYCGIxtrGOlwb0D38JOIiAZTwa8bpnJTTmAq437/uQKhCC+VIoJkHY3zhoRw==
dist-tags:
latest: 5.3.3 zowe-v3-lts: 5.3.3 next: 5.0.0-next.xxxxxxx zowe-v2-lts: 4.1.2 zowe-v1-lts: 4.0.7 lts-incremental: 1.1.2
published a month ago
If you encounter errors,troubleshoot your site's access to the NPM registry which you use.
If obtain successful output from the 'npm view' command, proceed with the following actions:
1-Remove any OPS plugin directory if it exists. It is located in:
<Your_Zowe_Home_Directory_default_is_$HOME/.zowe>/plugins/installed/node_modules/@broadcom/ops-for-zowe-cli
2-Remove any entry for OPS (like the one below) if it exists in
<Your_Zowe_Home_Directory>/.zowe/plugins/plugins.json
"@broadcom/ops-for-zowe-cli": {
"package": "@broadcom/ops-for-zowe-cli",
"location": "https://usw1.packages.broadcom.com/artifactory/your path"
"version": "5.3.3"
}
3- Run the 'zowe plugins install @broadcom/ops-for-zowe-cli' command again.