chromaui / chromatic-cli

Chromatic CLI: `npx chromatic`
https://www.chromatic.com/docs/cli
MIT License
289 stars 70 forks source link

Unrecognized key "skipUpdateCheck" in chromatic.config.json #1010

Closed ryan-case-ml closed 3 months ago

ryan-case-ml commented 4 months ago

Bug report

Getting this error when trying to use skipUpdateCheck in my config file

If you need help, please chat with us at https://www.chromatic.com/docs/cli for the fastest response.
You can also email the team at support@chromatic.com if chat is not an option.

Please provide us with the above CLI output and the following info:
{
  "timestamp": "2024-06-26T17:08:42.748Z",
  "sessionId": "4d97c0b3-9fc0-4e76-89ef-23a517227a19",
  "nodePlatform": "darwin",
  "nodeVersion": "20.12.2",
  "packageName": "chromatic",
  "packageVersion": "11.5.3",
  "flags": {
    "outputDir": [],
    "storybookBuildDir": [],
    "externals": [],
    "onlyStoryFiles": [],
    "onlyStoryNames": [],
    "untraced": [],
    "fileHashing": true,
    "interactive": true,
    "appCode": []
  },
  "errorType": "Error",
  "errorMessage": "✖ Configuration file chromatic.config.json was invalid, please check the allowed keys."
}

Error: ✖ Configuration file chromatic.config.json was invalid, please check the allowed keys.

- Unrecognized key(s) in object: 'skipUpdateCheck'
ryan-case-ml commented 4 months ago

I opened a PR to address this here https://github.com/chromaui/chromatic-cli/pull/1011

thafryer commented 3 months ago

@ryan-case-ml This issue should be resolved in the latest version of the Chromatic CLI (v11.5.5) and the GitHub Action.