You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm installing verdaccio using helm and I need to install some additional verdaccio plugins notably: verdaccio-ldap verdaccio-memory verdaccio-auth-memory
I'm doing that with the extraInitContainers in values.yml:
I've modified the verdaccio config.yml configmap as follows:
store:
memory:
limit: 1000
However, the pod is stuck in a crashloopbackoff with the error:
# k logs verdaccio-568c6599d9-bjs2p
Defaulted container "verdaccio" out of: verdaccio, populate-workdir (init), install-plugins (init)
warn --- config file - /verdaccio/conf/config.yaml
error--- plugin not found. try npm install verdaccio-memory
(node:8) UnhandledPromiseRejectionWarning: Error:
verdaccio-memory plugin not found. try "npm install verdaccio-memory"
at /opt/verdaccio/build/lib/plugin-loader.js:110:13
at Array.map (<anonymous>)
at loadPlugin (/opt/verdaccio/build/lib/plugin-loader.js:62:37)
at LocalStorage._loadStorePlugin (/opt/verdaccio/build/lib/local-storage.js:873:47)
at LocalStorage._loadStorage (/opt/verdaccio/build/lib/local-storage.js:857:26)
at new LocalStorage (/opt/verdaccio/build/lib/local-storage.js:49:31)
at Storage.init (/opt/verdaccio/build/lib/storage.js:64:25)
at _default (/opt/verdaccio/build/api/index.js:123:17)
at startVerdaccio (/opt/verdaccio/build/lib/bootstrap.js:66:22)
at InitCommand.execute (/opt/verdaccio/build/lib/cli/commands/init.js:65:37)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:8) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
So it seems like the verdaccio-memory plugin isn't being found but I am not sure why. If I run grep on package.json I do see it listed:
I'm installing verdaccio using helm and I need to install some additional verdaccio plugins notably:
verdaccio-ldap verdaccio-memory verdaccio-auth-memory
I'm doing that with the extraInitContainers in values.yml:
Then I have the following persistence defined:
I've modified the verdaccio config.yml configmap as follows:
However, the pod is stuck in a crashloopbackoff with the error:
So it seems like the verdaccio-memory plugin isn't being found but I am not sure why. If I run grep on package.json I do see it listed:
Can anyone help me understand why this isn't working?
Thanks
Brad
The text was updated successfully, but these errors were encountered: