Installing a Plug-in should not pass the plugin scoped registry as global registry on the NPM install command #2317
Labels
bug
Something isn't working
priority-high
Production outage - this quarter or at least next quarter
severity-high
Bug for which there may be workaround but limits the usage of the Zowe for major use cases
Describe the bug
When:
npm config set @zowe:registry https://zowe.jfrog.io/artifactory/api/npm/npm-local-release/
)@zowe/zos-ftp-for-zowe-cli@zowe-v3-lts
)Zowe CLI appends
--registry https://zowe.jfrog.io/artifactory/api/npm/npm-local-release/
to thenpm install
command run behind the scenes. Since that registry might not contain certain packages such aszos-node-accessor@2.0.11
, the installation might fail. The scoped registry should not be passed through as a global registry.zowe-cli/packages/imperative/src/imperative/src/plugins/cmd/install/install.handler.ts
Lines 76 to 96 in 027d9cc
zowe-cli/packages/imperative/src/imperative/src/plugins/cmd/install/install.handler.ts
Lines 220 to 244 in 027d9cc
zowe-cli/packages/imperative/src/imperative/src/plugins/utilities/npm-interface/install.ts
Line 125 in 027d9cc
zowe-cli/packages/imperative/src/imperative/src/plugins/utilities/NpmFunctions.ts
Lines 60 to 62 in 027d9cc
The text was updated successfully, but these errors were encountered: