rockcarver / frodo-cli

A CLI to manage ForgeRock platform deployments supporting Identity Cloud tenants, ForgeOps deployments, and classic deployments.
MIT License
19 stars 17 forks source link

'loglevel' dependency missing on npm installs #428

Closed conorbarford-ping closed 3 months ago

conorbarford-ping commented 3 months ago

Frodo CLI version

This will currently be 2.0.0 as in our Dockerfile we are running RUN npm i -g @rockcarver/frodo-cli which will be pulling the latest.

Describe the issue

On a Docker image where we have installed the CLI globally, trying to run an import gives the following:

`node:internal/modules/cjs/loader:1140 const err = new Error(message); ^

Error: Cannot find module 'loglevel' Require stack:

This is mitigated by also globally installing the loglevel dependency: RUN npm i -g loglevel

vscheuber commented 3 months ago

@conorbarford-ping this is fixed in Frodo CLI 2.0.2. Please let me know if you are still seeing the issue.