chromatic-cli icon indicating copy to clipboard operation
chromatic-cli copied to clipboard

Running chromatic storybook build for the first time hangs indefinitely

Open miketalley opened this issue 1 year ago • 1 comments

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.

miketalley avatar Jul 18 '23 20:07 miketalley

I've hit this as well--super confusing.

mmirus avatar Aug 18 '23 22:08 mmirus