question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chromatic suddenly started failing claiming we have an older version of storybook, but in fact do not.

See original GitHub issue

We have a typescript monorepo which has a design system that’s been happily building with chromatic for review nicely.

today it suddenly started failing:

Please note the session id: 'REDACTED'
contact [support@chromatic.com](mailto:support@chromatic.com) -or- open a support ticket at https://www.chromatic.com/
 
chromatic ERR! Problems encountered: 
chromatic ERR! Chromatic requires Storybook version at least 3.4. Please update your Storybook! 
 
undefined
/opt/atlassian/pipelines/agent/build/design-system/storybook:
 ERROR  @****/balance-storybook@1.0.34 chromatic: `chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --exit-zero-on-changes`
Exit status 255
 ERROR  Command failed with exit code 1.

in that .../design-system/storybook/package.json#dependencies :

...

     "chromatic": "^4.0.2",
  },
  "devDependencies": {
    "@babel/core": "^7.9.6",
    "@storybook/addon-actions": "^6.2.9",
    "@storybook/addon-knobs": "6.2.9",
    "@storybook/addon-links": "^6.2.9",
    "@storybook/addon-storysource": "^5.3.18",
    "@storybook/addons": "6.2.9",
    "@storybook/react": "^6.2.9",
    "babel-loader": "^8.2.2"
  }
...

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ghengeveldcommented, Mar 11, 2022

This issue usually pops up when running an outdated version of the CLI. Please make sure you have installed the latest version of chromatic:

Published on npm

Additionally, make sure that you are not using storybook-chromatic, which is an ancient version of the CLI which is no longer supported. If you have it installed, please remove it. Don’t forget to check your lockfile.

If you want to automatically upgrade to the latest version of chromatic going forward, you can remove the dependency altogether and use npx when running it (npx chromatic ...). Or you can use our GitHub Action.

2reactions
DzmitrySiniakoucommented, Mar 4, 2022

I have the same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading Storybook
The most common upgrade is Storybook itself. Storybook releases follow Semantic Versioning. We publish patch releases with bug fixes continuously, minor ...
Read more >
Sonny's Blues Study Guide - ARMYTAGE.NET
The narrator realizes that music can tell a story of outrage and redemption, and just as Sonny is able to exorcize his demons...
Read more >
Chapter 14 - The Picture of Dorian Gray - Cliffs Notes
Dorian first claims that the body is that of a suicide but finally admits to ... has begun to lose touch with even...
Read more >
Scam search - WA ScamNet
WA ScamNet has had a report of a phone scam where the caller claims to be ... But when we did a search...
Read more >
Song of Myself (1892 version) by Walt Whitman
The distillation would intoxicate me also, but I shall not let it. The atmosphere is not a ... What do you think has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found