chromatic-cli
chromatic-cli copied to clipboard
Running chromatic storybook build for the first time hangs indefinitely
Bug report
Just installed [email protected]
and had not yet run any builds. I installed [email protected]
and tried to run npx chromatic --project-token=<token>
and the process hangs indefinitely. I tried killing it and running it again several times with the same result.
I finally looked at the build-storybook.log
and saw the last line asking if I would like to provide data about crash reports [Y/n]. I think the problem may be that chromatic is running the build with the --silent
flag, which gives no indication that storybook is stopped at the the crash reports prompt.
I solved the issue by running npm run build-storybook
, where I was able to see the prompt and answer it, then when I subsequently ran chromatic again everything works.
I've hit this as well--super confusing.