-
Bug
-
Resolution: Done
-
Critical
-
1.1, 1.2, 1.3
-
None
-
RHDH Core Team 3264
-
Important
Description of problem:
npm in RHDH image (1.3) is configured to use internal Cachito. This makes it impossible to load dynamic plugins from the npm registry unless someone reconfigures this
❯ podman run -it --entrypoint=/bin/bash quay.io/rhdh/rhdh-hub-rhel9:1.3 -c "npm config list"
; "global" config from /etc/npmrc; prefix = "/usr/local" ; overridden by env
python = "/usr/bin/python3"; "user" config from /opt/app-root/src/.npmrc//cachito-nexus.engineering.redhat.com/repository/cachito-yarn-1680055/:_auth = (protected)
always-auth = true
cafile = "/registry-ca.pem"
email = (protected)
fetch-retries = 5
fetch-retry-factor = 2
registry = "https://cachito-nexus.engineering.redhat.com/repository/cachito-yarn-1680055/"
strict-ssl = true; "env" config from environmentignore-scripts = true
prefix = "/opt/app-root/src/.npm-global"; node bin location = /usr/bin/node
; node version = v20.16.0
; npm local prefix = /opt/app-root/src
; npm version = 10.8.1
; cwd = /opt/app-root/src
; HOME = /opt/app-root/src
; Run `npm config ls -l` to show all defaults.
Expected results:
not to use internal red hat services
Reproducibility (Always/Intermittent/Only Once):
1.3, 1.2, 1.1
- clones
-
RHIDP-4410 npm in RHDH image non-standard default npm registry
- Closed