-
-
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
MDX files fails to build in v6.5 #18266
Comments
I tried to reproduce with your repo but I ended up getting a different error. Any chance you can create a simpler reproduction for me to look at? See how to create a repro. We prioritize issues with reproductions over those without. Thank you! 🙏 |
@shilman the command Basically, I cannot make a reproduction on my side no matter which framework I choose (React, Angular, ...) |
Now I tried again with
System Info:
This time I could manage to run I just pushed my branch to https://github.com/Trendyol/grace/tree/112-css-property-controls-in-storybook if it helps. BTW, I tried cleaning |
@muratcorlu that's the same error I got. I ran the whole thing with |
Oh, I tried |
I switched to Node 14.19.3 and npm 6.14.17, and I managed to run storybook v6.5.3 in my project without any issue. I can confirm this problem occurs on Node v14 and npm v8. |
When I switch back to Node v16, make a clean install without removing package-lock.json, it also worked. But if I clean package-lock.json file together with node_modules folder in Node v16, then make an install, I get first mdx dependency error again. Something really weird happens with peer dependencies with a clean install in Node v16, I think. I see 2 lines of warnings when I run
|
Closing as duplicate to #18094 |
Describe the bug
After upgrading our Storybook from 6.4.22 to 6.5 we started to get this when I want to run storybook:
If I add I
@mdx-js/react
to my project dependencies, build passes. But I think I should not need to add@mdx-js/react
to my dependencies.To Reproduce
Sorry but
npx sb@next repro
command also failed in my local. For reproducing you can pull https://github.com/Trendyol/grace/tree/112-css-property-controls-in-storybook branch and runnpm run storybook:dev
System
The text was updated successfully, but these errors were encountered: