gpduck / MSTerminalSettings

MIT License
118 stars 15 forks source link

ConvertFrom-Json : Invalid JSON primitive: . #51

Closed andtii closed 4 years ago

andtii commented 4 years ago

I deleted my profiles.json then tried to run all cmds but get the error below. Any ideas?

image

gpduck commented 4 years ago

Can you try updating to the latest preview version? (It should go up to 1.1.54) I think Terminal is adding comments into the JSON now and the older module versions can't handle it.

Update-Module MSTerminalSettings -AllowPrerelease
andtii commented 4 years ago

Get this error image

andtii commented 4 years ago

I found the issue, updated PowershellGet and restarted and now it works with latest. Thnx for awesome stuff :)