-
-
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]: runtime and iframe 404 on first load #30378
Comments
This
|
@MatheoJaouen Adding getAbsolutePath does not fix it for me. Thanks for the suggestion. |
Same issue for me after updating Storybook from I'm following the Storybook for Vue tutorial |
Can you please give us more information about what logs are logged to the terminal during startup? |
You can reproduce the issue with this project. Terminal Logs> storybook dev -p 6006
@storybook/core v8.5.3
info => Serving static files from ././.storybook/public at /
info => Starting manager..
WARN No story files found for the specified pattern: src/**/*.mdx
info => Starting preview..
info Using tsconfig paths for react-docgen
╭────────────────────────────────────────────────────╮
│ │
│ Storybook 8.5.3 for react-vite started │
│ 128 ms for manager and 1.4 s for preview │
│ │
│ Local: http://localhost:6006/ │
│ On your network: http://192.168.1.125:6006/ │
│ │
╰────────────────────────────────────────────────────╯
|
Here's another repro FWIW: https://github.com/HerbCaudill/react-router-vite-storybook-test This the most bare-bones possible repo that combines Vite, React Router v7, and Storybook (which seems like it should be a pretty common combination going forward). This repo was created using these libraries' default initialization packages with a couple of tweaks to make them play nice together.
What I see on first load roughly matches what others have reported here, although it's very inconsistent, which would suggest a race condition. Here are two different runs (deleting I can generally get it to show the stories after refreshing the browser a couple of times, although I consistently continue to get the 404 for |
We are experiencing the same issue after jumping up to |
Describe the bug
I am trying to upgrade from storybook 8.3.5 to 8.5.1. When I upgrade and run storybook, it opens the browser and stays on the loading spinner with the errors shown in the screenshot. It corrects itself on refresh. I have tried some other suggestions from past issues like vite --force, tracking down caches and removing, and others but those do not remove the issues. This issue occurs for all versions higher than 8.3.5 for me.
Reproduction link
no
Reproduction steps
System
Additional context
No response
The text was updated successfully, but these errors were encountered: