Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot skip project without specifying a way to build the storybook #751

Open
MJez29 opened this issue May 19, 2023 · 0 comments
Open

Cannot skip project without specifying a way to build the storybook #751

MJez29 opened this issue May 19, 2023 · 0 comments
Labels
bug Classification: Something isn't working needs triage Tracking: Issue needs confirmation

Comments

@MJez29
Copy link

MJez29 commented May 19, 2023

Bug report

My storybook is being built as a separate step before I run chromatic so when I want to upload it I call

chromatic -d build-dir

When I want to skip uploading the storybook I would expect this to work

chromatic --skip

However I am seeing the following error

The CLI didn't find a script called "build-storybook" in your package.json.
Make sure you set the --build-script-name option to the value of the script name that builds your Storybook.

I can get around this by doing

chromatic --skip -d build-dir

But ideally this shouldn't be necessary

@MJez29 MJez29 added bug Classification: Something isn't working needs triage Tracking: Issue needs confirmation labels May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Classification: Something isn't working needs triage Tracking: Issue needs confirmation
Projects
None yet
Development

No branches or pull requests

1 participant