Skip to content
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

fix(tui): no longer error if preferences cannot be read #10004

Conversation

chris-olszewski
Copy link
Member

Description

Fixes #9999

The TUI should function even if we fail at loading preferences.

Testing Instructions

Add test to verify that if the preferences file contains invalid JSON a loader is still created. User probably was hitting a perms issue or some other FS issue and not an invalid JSON, but the test is just meant to show we don't crash.

Copy link

vercel bot commented Feb 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 3:16pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 3:16pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 3:16pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 3:16pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 3:16pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 3:16pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 3:16pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 3:16pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2025 3:16pm

Copy link
Contributor

@anthonyshew anthonyshew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thank you.

@chris-olszewski chris-olszewski merged commit 3e774d3 into main Feb 19, 2025
39 checks passed
@chris-olszewski chris-olszewski deleted the chrisolszewski/turbo-4498-selecting-tui-as-ui-option-crashes-turbo-on-windows branch February 19, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Selecting "tui" as "ui" option crashes turbo on Windows
2 participants