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 CLI not building storybook

See original GitHub issue

Hello,

I am having issues getting chromatic cli to build the storybook after the intial run… It hangs and doesnt appear to create any artifacts in the /var/... folder. I raised this on SO the other day but thought it might be worth raising here also.

In order to get chromatic to build the storybook I have to exectute the following:

./node_modules/.bin/chromatic --project-token=xxxxfooxxxx

Let me know if theres more info that might help… Or if you would rather the detials were lifted out of the SO post…

https://stackoverflow.com/questions/65094064/chromatic-cli-not-building-storybook

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
ghengeveldcommented, Jan 7, 2021

I’ve made a prerelease for the fix, can you verify it works? yarn add chromatic@5.5.1-dev.0

Update, I’ve now also added a timeout of 10 minutes for running the build script. yarn add chromatic@5.5.1-dev.1

0reactions
manoadamrocommented, Feb 16, 2021

same problem in v5.6.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

reactjs - Chromatic CLI not building storybook
Yes, building the storybook directly in yarn is ok, but as an artefact of the chromatic build it just hangs. Also raised here:...
Read more >
Issue #569 · chromaui/chromatic-cli - Invalid Storybook Build
I get the same error (Invalid Storybook build) when letting chromatic build storybook with npx chromatic --project-token ... or by passing it ...
Read more >
Errors component • chromaui/chromatic-cli
The CLI tried to run your build:storybook script, but the command failed. This indicates a problem with your Storybook. Here's what to do:...
Read more >
Chromatic Addon | Storybook: Frontend workshop for UI ...
Run a build of all the CLI's stories against a Chromatic project: yarn chromatic -t <token> . Running against staging. CHROMATIC_INDEX_URL=https://index.staging ...
Read more >
Storybook-chromatic NPM - npm.io
These options are not required, this CLI is 0-config if you have a build-storybook script in your package.json . Chromatic options. --allow-console ...
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