storybook
storybook copied to clipboard
[Bug]: Error loading Stories first load
Describe the bug
Hello,
i set my main.js with correct path for file of stories, but during first load on when i create a build i don't see any stories present and i have to save every single fil of stories to see on storybook.
Anyone had my same problem?
To Reproduce
Start project
System
No response
Additional context
No response
I've run into this issue before, too. It's intermittent for me. I reproduced the issue just like the screenshot above the first time I ran my instance of Storybook (v7.0.20). However, I restarted my local server 5 more times and could not reproduce again. I tried closing the tab with the site loaded so it had a fresh one, and I also kept it open a couple times. Still could reproduce again. Not a fun one to troubleshoot! 😅
I'm running into this issue consistently the first time I load the deployed version of storybook static, as soon as I click on another story the issue goes away. Only happens on first load
Do you a have a reproduction repo you can share? If not, can you create one? Go to https://storybook.new or see repro docs. Thank you! 🙏
Repro is best, but if you're encountering this issue & are running in dev mode can you check the contents of /index.json
in the browser? If you're running a static build, can you check the contents of the file storybook-static/index.json
?
Hi there! Thank you for opening this issue, but it has been marked as stale
because we need more information to move forward. Could you please provide us with the requested reproduction or additional information that could help us better understand the problem? We'd love to resolve this issue, but we can't do it without your help!
I'm afraid we need to close this issue for now, since we can't take any action without the requested reproduction or additional information. But please don't hesitate to open a new issue if the problem persists – we're always happy to help. Thanks so much for your understanding.