-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
@storybook/[email protected] build failure #13269
Comments
Do you have a repro repo you can share? |
@merceyz this seems related to your changes, no? |
@shilman I unfortunately don't have this available on a public repo. |
Shouldn't be, but without a repro who knows what's going on |
Fwiw this general build instability has been occurring since at least before the fix introduced for #13209. For both of these cases I could revert to 6.0.28 reliably. Let me see if I can host a reduced case for you. |
I haven't yet been able to stand up a repo for this but wanted to note that this also occurs on |
Having the same issues here. I have As of now, reverting back to 6.0.28 (and keeping |
I have an available repo to reproduce this - https://github.com/ubergrape/grape-ds |
https://github.com/agrc-widgets/kitchen-sink is a repro once upgraded |
Also having this issue with the same scenario - |
@AleshaOleg Thanks for providing a repro. I was able to repro and fix by adding a https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-peer-dependencies @katiawheeler That's the recommended fix, not a "for the time being" workaround. 😄 If we install our own version of React it opens us up to a world of pain, which is why we made the switch in the first place. |
@shilman awesome, I think that will work for me as long as that’s the recommended path forward and is documented for future developers! Appreciate the update! |
Thanks for looking into this and appreciate that docs update @shilman |
Cool, going to close this one for now! 🚀 |
Hmm... I can't solve it by documentation. I solved it like below. Use it temporarily. before
after
|
I had the same problem tried upgrading with |
I can't share the repo but I could share any individual files and show the errors I am getting. And I can try any suggestions and report back. |
I got this error after adding a package with |
So it was working in external libraries in previous versions and now it wont :) |
When I downgrade the version to Do you have any updates? For now I just removed the use of types Thanks |
@SaraRavasio we still don't have any reproduction. https://storybook.js.org/docs/react/contribute/how-to-reproduce |
My error was for react-dom Simply running |
Why is this fix needed for Angular projects? Can it not be a peer dependency for the |
@DigiBanks99 this shouldn't be needed for angular projects. |
Just had the same problem in my Angular project. An update of storybook from 6.4.7 to 6.4.9 solved it. (no need to add react-dom) |
For some reason, I had to add it as a dev dependency manually for storybook to work. |
@JoeyFenny Thanks man, Its work like a charm! |
Describe the bug
When running
start-storybook
, the following error occurs:To Reproduce
Steps to reproduce the behavior:
start-storybook
Expected behavior
The build succeeds. Reverting to 6.0.28 fixes the issue.
Code snippets
main.js
System
The text was updated successfully, but these errors were encountered: