KUBB_UPDATE_AVAILABLE: Update available#
Code: KUBB_UPDATE_AVAILABLE
Level: info
A newer Kubb version is published on npm than the one running.
╭─────── Update available for `Kubb` ───────╮
│ │
│ `v5.0.0` → `v5.1.0` │
│ Run `npm install -g @kubb/cli` to update │
│ │
╰───────────────────────────────────────────╯
What happened#
Before generating, the CLI checks npm for a newer release. When one exists, it reports this notice. It is informational and never fails the build. The check is skipped when you are offline.
This is the one diagnostic the interactive logger renders as a framed box rather than a code-tagged line. When output is not a TTY, such as in CI, it falls back to the standard diagnostic format:
[KUBB_UPDATE_AVAILABLE]: Update available: v5.0.0 → v5.1.0. Run `npm install -g @kubb/cli` to update.
see: https://kubb.dev/docs/5.x/reference/diagnostics/kubb-update-available
How to fix it#
Update the @kubb/* packages to pick up the latest fixes.
npm install -g @kubb/cli
Update the per-project plugins through your package manager as well, for example.
npm install @kubb/adapter-oas @kubb/plugin-ts