-
-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to get locale informations #1961
Comments
Thanks for your report. Just tested to run the dev and prod version of the linked repo/branch with no issues on my end. I also tried on Windows and got the same result. Would you be able to specify your Node.js version? You should be able to get that by running |
Additional thought: could it be related to Bun or Bun version? I used |
I finally managed to reproduce the issue, looks like there is a When using that flag, I can reproduce the issue. Is this your use case? If yes, as it's a Bun related issue (I'm assuming some parts of the |
Thanks for your help. This issue may be associated with Bun or Node.js. I will close this now. Thank you again. |
@HiDeoo the
|
Thanks a lot for reminding me of this, super appreciated! I totally forgot about this after a while after working on the feature. Sorry for my mistake, I just opened #1987 which should fix this issue. Thanks again. |
Fixed and released in Starlight v0.24.1 🚀 Thank you to everyone reporting and helping to fix! |
Same error with https://stackblitz.com/edit/github-w4rkes?file=package.json,astro.config.mjs&on=stackblitz |
Thanks for the report @aleclarson, I can confirm I’m also seeing that. Firefox doesn’t support the Update: Tip for anyone else wanting to debug, you can run |
Let me try, it’s definitely this line that errors: starlight/packages/starlight/utils/i18n.ts Line 187 in 4f12049
|
Ohhhhhhh. Yes! Makes sense. I’d totally missed that that was calling |
PR to fix this: #2167 |
What version of
starlight
are you using?0.24.0
What version of
astro
are you using?4.9.3
What package manager are you using?
bun
What operating system are you using?
Windows
What browser are you using?
Chrome
Describe the Bug
I get this bug after updating Starlight to v0.24.0
Link to Minimal Reproducible Example
https://github.com/AREA44/playastro/tree/bump-starlight
Participation
The text was updated successfully, but these errors were encountered: