Skip to content

KUBB_UPDATE_AVAILABLE: Update available

Code: KUBB_UPDATE_AVAILABLE Level: info

A newer Kubb version is published on npm than the one running.

Terminal
text
[KUBB_UPDATE_AVAILABLE] Update available: 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.

How to fix it

Update the @kubb/* packages to pick up the latest fixes.

Terminal
shell
npm install -g @kubb/cli@beta

Update the per-project plugins through your package manager as well, for example.

Terminal
shell
npm install @kubb/adapter-oas@beta @kubb/plugin-ts@beta

See also