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

Add a config load error troubleshooting #72

Open
craftzdog opened this issue Jul 13, 2023 · 0 comments
Open

Add a config load error troubleshooting #72

craftzdog opened this issue Jul 13, 2023 · 0 comments

Comments

@craftzdog
Copy link
Contributor

craftzdog commented Jul 13, 2023

Under the "App won't launch" section.

Case 1: YAMLParseError

As of v5.6.0, the app converts the config file format from CSON to JSON.
When converting it but the data had a syntax error, YAML fails to parse it like so:

Failed to load `config.cson`
YAMLParseError: All mapping items must start at the same column at line 4, column 1:

            invalid: 1
    betaChannel: true
^

That's mostly due to invalid indentations mixed with spaces and tabs.

Case 2: JSON Syntax Error

Screenshot 2023-07-13 at 21 33 00

Failed to load `config.json`
SyntaxError: Expected property name or '}' in JSON at position 15
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

No branches or pull requests

1 participant