-
-
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
[Bug]: @storybook/react-webpack5 v7.3 crashes without @storybook/manager-api #23876
Comments
Can reproduce the same issue, but would also add that it will fail with same error in case project was using |
Hey @mkosir @dmaier-indeed thanks for reporting the issue! I'm unfortunately not able to reproduce it, can you tell me what I'm doing wrong? Could you also check whether removing your lock file + node_modules and reinstalling your dependencies solves your issue? Thank you! |
Hey @yannbf 👋
|
Thank you so much @mkosir! I followed your steps and removed @storybook/manager-api, but there were no issues.
Regardless, we tracked the issue and released 7.3.2 which should be working correctly now (I tried on your repro). |
Thank you @yannbf, that was fast 🚀
Thanks you are correct, there is no issues with storybook running if we remove just In my case other scripts failed such as lint, typescript check etc. since importing |
Confirmed I no longer see the issue with version |
It looks like we have a regression in |
Confirmed it was not a regression. It's all good! |
Describe the bug
When updating
@storybook/react-webpack5
to v7.3, Storybook failed to launch. After debugging, I found Storybook was not able to resolve@storybook/manager-api
. Before v7.3,@storybook/react-webpack5
shipped with@storybook/manager-api
independencies
.The fix is simple: consumers need to install
@storybook/manager-api
, however this should either be shipped within@storybook/react-webpack5
or listed as a peer dependencyCrash log
To Reproduce
Install Storybook with
@storybook/react-webpack5
preset but do not install@storybook/manager-api
. Attempt to launch StorybookSystem
Additional context
New bug as of version 7.3.0. Most likely from commit f70f0508f182b475c65a5b9d87444421ef8790eb
The text was updated successfully, but these errors were encountered: