Skip to content

Renovate: “Cannot find preset's package” – preset misspelled

CI/CDtested on Renovate 44.153.1, Forgejo

Renovate only resolves presets in extends during a run. If the name is misspelled, the run fails with Cannot find preset's package. On the platform an issue “Action Required: Fix Renovate Configuration” appears, and Renovate stops creating PRs.

Symptom

renovate --platform=local --dry-run=extract 2>&1 | grep -E "validationError|DRY-RUN"
       "validationError": "Cannot find preset's package (config:recomended)"
         "validationError": "Cannot find preset's package (config:recomended)",
 INFO: DRY-RUN: Would ensure configuration error issue (repository=local)

In the dry run Renovate plans the configuration issue.

Diagnosis

The validator reports success for the same file – it does not resolve presets.

renovate-config-validator --no-global tippfehler.json; echo "exit=$?"
 INFO: Validating tippfehler.json as repo config
 INFO: Config validated successfully against 1 file(s)
exit=0

Causes

config:recomendedPreset name misspelled

The preset is called config:recommended. With a typo Renovate cannot find the preset's package.

ValidatorThe validator does not resolve presets

renovate-config-validator checks the structure, not the presets. The typo only shows up in a real run – locally with --platform=local.

Fix

Correct the preset name in extends (config:recommended). Renovate then closes the configuration issue on the next run and works normally again.

Don't: Relying only on renovate-config-validator in CI. Presets need a run with --platform=local.

▶
Break it yourself and find it – free
Renovate hands-on, day 2: configuration, presets, the validator, --platform=local and dry-run levels.
Go to day 2 →

FAQ

What is --platform=local?

Renovate runs in the current directory without a Git platform; with --dry-run=extract it only looks for dependencies.

Does Renovate still create PRs despite the error?

No. Until the config is fixed there is only the configuration issue.

Related error patterns

More