-
-
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
Uncaught (in promise) Error: No docs.container
set
#17527
Comments
I get a similar issue, reproduction is available here |
I'm getting this error after upgrading from storybook 6.4 to 6.5 using react. Every figure out what was going on? |
@charleshimmer Do you a have a reproduction repo you can share? If not, can you create one? See how to create a repro. Thank you! 🙏 |
I got this error today when I had accidentally installed |
I found my issue was the path for the |
Hot reloading does seem to not be working though now :(. |
Hey folks, any update regarding this issue? Happened to us too upgrading from |
@konsalex Do you a have a reproduction repo you can share? If not, can you create one? See how to create a repro. Thank you! 🙏 |
Also had the same problem with version 6.5.9
Would love for someone to figure out what the problem is |
@shilman I don't have time to create a full repro, but I believe I was able track this regression to #17755. I have two storybooks with this problem, and it seems like the only ingredient for this to occur is to have a custom storybook/addons/docs/preset.js Lines 10 to 16 in 8dd4fa6
6.5 seems to have completely rewritten the preset entrypoint and I'm still investigating what needs to be done in order to fix this. In the meantime, I can get docs working again by including this in my export const parameters = {
docs: {
...require('@storybook/addon-docs/preview').parameters.docs,
// other config
}
} |
Thanks @charleshimmer this has solved this issue in our case as well. |
The storybook docs addon seems to break in versions >6.5.x currently. Keeping it a 6.3.x lets us keep using storybook. See this issue in github: storybookjs/storybook#17527
The storybook docs addon is broken in 6.5.x currently. Pinning it to 6.3.x lets us to continue using storybook. See this github issue: storybookjs/storybook#17527 ✅ Closes: ICU-7791
The storybook docs addon is broken in 6.5.x currently. Pinning it to 6.3.x lets us to continue using storybook. See this github issue: storybookjs/storybook#17527 ✅ Closes: ICU-7791
We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if:
|
Why I get this error?
//storybook/main.tsx
stories: ["../src/components/**/.stories.@(tsx|mdx)", "../src/styles/.stories.@(tsx|mdx)",],
addons: [
"@storybook/addon-essentials",
"@storybook/addon-actions/register",
"@storybook/addon-controls",
"@storybook/addon-viewport",
{
name: '@storybook/addon-docs',
options: {
configureJSX: true,
babelOptions: {},
sourceLoaderOptions: null,
transcludeMarkdown: true,
},
},
],
and this is my mdx file
//BlogCard.stories.mdx
import { Meta, Story } from '@storybook/addon-docs/blocks';
import * as stories from './BlogCard.stories.tsx';
import BlogCard from "./index";
...some random markdown here
The text was updated successfully, but these errors were encountered: