Skip to content

Configuration Error with i18n.routing.redirectToDefaultLocale in Starlight #13551

@yntpdotme

Description

@yntpdotme

What version of starlight are you using?

0.32.5

What version of astro are you using?

5.5.3

What package manager are you using?

bun, pnpm

What operating system are you using?

Mac

What browser are you using?

Chrome, Arc

Describe the Bug

When running dev script, I'm encountering a configuration error related to the i18n routing options.

❯ bun dev
> astro dev

[ERROR] [@astrojs/starlight] An error occurred while updating the config
The option `i18n.routing.redirectToDefaultLocale` is only useful when the `i18n.routing.prefixDefaultLocale` is set to `true`. Remove the option `i18n.routing.redirectToDefaultLocale`, or change its value to `true`.
 
 ELIFECYCLE  Command failed with exit code 1.

it's happening with a fresh empty project

Metadata

Metadata

Assignees

Labels

- P5: urgentFix build-breaking bugs affecting most users, should be released ASAP (priority)feat: i18nRelated to internalization (scope)regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions