terminal: Windows Terminal not running
Environment
Windows build number: 10.0.18362.239
Windows Terminal version (if applicable): 0.2.1831.0
Steps to reproduce
- Install Windows Terminal from Microsoft Store.
- Click on the Windows Terminal icon from the start menu.
- Running wt.exe behaves identically.
Expected behavior
Windows Terminal shows its window.
Actual behavior
Nothing happens after two seconds of mouse cursor showing a loading status.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 23 (2 by maintainers)
Fixed this by repairing it via Add or remove programs.
So it turns out Windows automatically syncs the
profiles.json
between different computers under your MS account. And it seems that if the syncedprofiles.json
includes something that is not suitable for the host, e.g., a font not installed, the Windows Terminal crashes without giving any warnings or logs.For my case, I manually entered the directory
%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\RoamingState
and deleted the syncedprofiles.json
from my laptop, which does exist but for some reason was not found in everything. The file included a font not installed on the crashing host. Then I re-ran the Windows Terminal and a default profiles.json was generated with which Windows Teminal worked fine.Hey All ran into the exact same issue and realized that I didn’t even have a profiles.json. I ended up going into “Add or Remove Programs” and repairing Windows Terminal, fixed the problem for me.
I’m having a similar issue albeit with a slightly different Windows version.
Edition: WIndows 10 Pro Version: 1903 OS Build 18362.175
I’ve tried removing the application using Add/Remove Programs, it has never successfully run on this host.
From Application Event Log
@uberubert The “Repair” option is under “Advanced options”
Worked for me.
For WT 0.3.2171.0, it seems that for a
profiles.json
with invalid font Windows Terminal will now fallback to a default font (seems like consolas to me) instead of crashing. For now I don’t see any necessary to keep this issue open and I’m closing it.But still, no warnings are raised to remind users to fix their
profiles.json
.I am experiencing the same issue and WT stills always crashing even after restart, reinstall, and a new Windows update.