Skip to content

Add a config load error troubleshooting #72

Description

@craftzdog

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions