Failed to load settings: Syntax error: value, object or array expected #17051

Closed
opened 2026-01-31 05:30:52 +00:00 by claunia · 0 comments
Owner

Originally created by @ranley123 on GitHub (Mar 23, 2022).

Windows Terminal version

1.12.10393.0

Windows build number

10.0.22000.0

Other Software

No response

Steps to reproduce

  1. create a ps1 script
$filepath = "<Windows Terminal settings.json path>"
$obj_str = Get-Content $filepath
$obj_str | Out-File -FilePath $filepath -Raw
  1. Re-open the Windows Terminal, it shows you
    image

Notice that the content before outputting and after outputting is exactly the same.

Expected Behavior

No response

Actual Behavior

It Shows the error dialog. The Windows Terminal should open normally without the error dialog, as the content remains the same.
image

Originally created by @ranley123 on GitHub (Mar 23, 2022). ### Windows Terminal version 1.12.10393.0 ### Windows build number 10.0.22000.0 ### Other Software _No response_ ### Steps to reproduce 1. create a ps1 script ``` $filepath = "<Windows Terminal settings.json path>" $obj_str = Get-Content $filepath $obj_str | Out-File -FilePath $filepath -Raw ``` 2. Re-open the Windows Terminal, it shows you ![image](https://user-images.githubusercontent.com/37178834/159635730-60b42130-bb7f-4b96-844b-6cba5104a19b.png) Notice that the content before outputting and after outputting is exactly the same. ### Expected Behavior _No response_ ### Actual Behavior It Shows the error dialog. The Windows Terminal should open normally without the error dialog, as the content remains the same. ![image](https://user-images.githubusercontent.com/37178834/159635730-60b42130-bb7f-4b96-844b-6cba5104a19b.png)
claunia added the Needs-TriageIssue-BugNeeds-Tag-Fix labels 2026-01-31 05:30:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17051