-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
previewBuilder.bail is not a function #19349
Comments
I'm encountering the same issue when upgrading storybook-addon-mock from 2.4.1 to 3.1.0. |
Boo-yah!! I just released https://github.com/storybookjs/storybook/releases/tag/v7.0.0-alpha.38 containing PR #19405 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
The error remains for me.. |
@MarceloArraes do you have a reproduction you can share? |
The repository is trying to deploy on githubpages here:
The error is like this: `npm run storybook
info @storybook/react v6.5.13 info => Ignoring cached manager due to change in manager config WARN Broken build, fix the error above. |
@MarceloArraes looks like this was only released in 7.0-alpha per my comment above. I'm not sure about the release schedule for the stable version, but maybe @IanVS or @joshwooding can comment here If you'd like to upgrade to the alpha
|
Yes yes, i'm sorry. I sended you the wrong error. When I update to your alpha i get this: `[email protected] build-storybook
/tmp/build-storybook-3b3eca98.sh: 1: build-storybook: not found` |
@MarceloArraes migration notes here We'll be adding an automigration to do this automatically, but for now you need to do it by hand. There might be some other useful migration notes there as well. |
@MarceloArraes 0.2.5 has been released which should fix this if you're on v6 |
Hey! I recently upgraded from v7.0.0-alpha.33 -> .34 in order to get around a bug that was patched with this PR.
npm run storybook
worked great when this patch was added locally.After upgrading however, a new error appears when I try to run Storybook saying that
previewBuilder.bail is not a function
at@storybook/core-server/dist/cjs/dev-server.js:216:91
.I got the same error when I tried:
node_modules
and runningnpm install
againnpx storybook init
againUsing
@storybook/cli v7.0.0-alpha.34
, here's the full error (path to the repo is shortened to./
):System
Results of
npx sb@next info
:The text was updated successfully, but these errors were encountered: