chromatic-cli: Extraction of storybook stories appears broken since this morning.

Bug report

Since this morning, uploading our stories using the chromatic CLI does not work and aborts with the following error:

The following error was encountered while running your Storybook:

Cannot destructure property 'provider' of 'undefined' as it is undefined.

The same commit worked yesterday.

See also: https://github.com/chromaui/chromatic-cli/issues/703#issuecomment-1815300630

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Reactions: 14
  • Comments: 21 (4 by maintainers)

Most upvoted comments

@dvasyliev @kim-fransson @FlorianSipgate, thanks for reporting! We’re currently looking into this issue.

For future incidents like this, it would be great if you could please publish acknowledgements to your status page and provide a link to the status page in the error message. Thank you 😃

Ok @marcusabu @expspace @afternoon2 the fix has been released, please try again

Thanks for sharing @mtzo09-dev @sherpadee! We confirmed with other users that the Storybook is working fine. Looking at the Chromatic side of things now.

@marcusabu it should be released any minute, I’ll follow up once it’s out!

I have the same issue and we didn’t upgrade any storybook/chromatic version in the nearest week, everything was working yesterday.

Chromatic CLI v6.17.4
https://www.chromatic.com/docs/cli

  ✔ Authenticated with Chromatic
  ✔ Retrieved git information
  ✔ Collected Storybook metadata
  ✔ Initialized build
  ✔ Storybook built in 19 seconds
  ✔ Publish complete in 22 seconds
  ✖ Verifying your Storybook
    → Failed to publish build
    Test your stories

⚠ Using outdated package
You are using an outdated version of the Chromatic CLI (v6.17.4).
A new major version is available (v9.0.0).
Run yarn upgrade chromatic --latest to upgrade.

✖ Failed to extract stories from your Storybook
This is usually a problem with your published Storybook, not with Chromatic.

Build and open your Storybook locally and check the browser console for errors.
The following error was encountered while running your Storybook:

Cannot destructure property 'provider' of 'undefined' as it is undefined.

We just deployed a fix to resolve this issue. Can you run a new build within 15 minutes?

cc: @afternoon2 @expspace

@shrink thanks, you’re absolutely right! We did add a retroactive update but will strive to add an update faster next time.

Thanks @JonathanKolnik for the quick fix! I’ll close this one out now.

works 🎉 thank you very much 🤗

looks good now!

@cgbl-90 Ran a new build (using Chromatic CLI v9.1.0) but same error for me unfortunately

Same issue here. All chromatic publish jobs are failing since this morning. Getting the error as described by @dvasyliev

Same issue for our team. It started to fail yesterday with the first build Nov. 16, 2023, 7:53 a.m.

Storybook works fine, even the link for the published version works, just the last step has the error “Failed to extract stories from your Storybook”

Same issue here! The Storybook works perfectly, and the build runs without errors!

Same issue here! The Storybook works perfectly, and the build runs without errors

I can confirm that we have the same issue, tried upgrading chromatic-cli to 9.0.0 but no luck. Our storybook seems fine and I also build it locally with no obvious errors in the logs.