chromaui/chromatic-cli

error: unknown option '--output-dir'

Closed this issue · 1 comments

I just started the getting started option, and installed chromatic into my dev scripts. While running the chromatic command I get the error

error: unknown option '--output-dir'

node: 18.14.0
pnpm: 8.4
storybook: 7.3.1

{
  "scripts": {
    "storybook": "storybook dev -p 6006",
    "build-storybook": "storybook",
  }
}

Changed my scripts to

{
  "scripts": {
    "storybook": "storybook dev -p 6006",
    "build-storybook": "storybook build",
  }
}

🤦