-
-
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
TypeError: (0 , _coreCommon.getStorybookBabelConfig) is not a function #17280
Comments
Just like context, I wanted to upgrade because I notice that when That is a problem, because I'm using example: component
story
I not have a solution, but I wanted to upgrade storybook and check if that helps. |
I have encountered this error before, and I found out is that npm or yarn has installed the wrong version of @storybook/core-common and @storybook/core-server, so I delete all the node_modules and install it again, and the errors go away. |
thank you, I will try. I'm working in a mono repo, another folders in this repo have a older versions of storybook. |
I am also working on a mono repo, while I only faced this issue is when I upgrade all other folders(or packages) that will happened. single folder upgrade, for me, do not have that issue. my suggestion is delete the root node_module and install it again from the root. |
Thank you @khylerlin, I solved my problem, thank you for your help |
Describe the bug
on upgrade storybook from
6.3.8
to6.4.13
I get this errorTo Reproduce
I just upgrade my version manually and run with my regular configuration.
from this
to this
Because
npx sb@next automigrate
didn't do anything.Trying to find the problem, I disable all configuration files and stories except
main.js
and comment all, but I get the same error.System
Additional context
I have a mono repo that is using lerna and different versions of storybook are installed in other folders.
The text was updated successfully, but these errors were encountered: