Chromatic CLI not building storybook
See original GitHub issueHello,
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:
- Created 3 years ago
- Reactions:5
- Comments:8 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
same problem in v5.6.2