-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Configuration Error with i18n.routing.redirectToDefaultLocale in Starlight #13551
Copy link
Copy link
Closed
Closed
Copy link
Labels
- P5: urgentFix build-breaking bugs affecting most users, should be released ASAP (priority)Fix build-breaking bugs affecting most users, should be released ASAP (priority)feat: i18nRelated to internalization (scope)Related to internalization (scope)regression
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- P5: urgentFix build-breaking bugs affecting most users, should be released ASAP (priority)Fix build-breaking bugs affecting most users, should be released ASAP (priority)feat: i18nRelated to internalization (scope)Related to internalization (scope)regression