Skip to content
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?]: Storybook Fails to Load Components #42

Open
1 task
alissa-pullflow opened this issue Oct 15, 2024 · 2 comments
Open
1 task

[Bug?]: Storybook Fails to Load Components #42

alissa-pullflow opened this issue Oct 15, 2024 · 2 comments
Labels
bug/needs-info More information is needed for reproduction help-wanted

Comments

@alissa-pullflow
Copy link

What's not working?

Storybook is not loading any components. When starting Storybook, the interface opens, but no components are visible in the sidebar. Additionally, the preview area is empty, and there are no error messages or any visible indication of what went wrong. This prevents users from viewing or testing their components within Storybook.

How do we reproduce the bug?

Run npm run storybook or yarn storybook in the project root.
Wait for Storybook to start in the browser.
Observe that the interface loads, but the component list is missing, and the preview area is blank.
Try reloading the page or restarting Storybook, but the issue persists.

What's your environment? (If it applies)

Mac Os, Chrome Browser

Are you interested in working on this?

  • I'm interested in working on this
@alissa-pullflow alissa-pullflow added the bug/needs-info More information is needed for reproduction label Oct 15, 2024
Copy link

Hi @alissa-pullflow, it seems that your issue might be related to others that have been reported. You can check this similar issue for more context: Can't run Storybook on latest release. It might provide some insights or solutions that could be applicable to your situation.

If you have any more information or updates, feel free to share them here!

@michalgm
Copy link

This is very unlikely to be your problem, but in case anyone else stumbles here like I did, I had a similar issue. My redwood storybook couldn't load (was 404ing on http://localhost:7910/sb-addons/essentials-toolbars-4/manager-bundle.js - and in fact was not even creating the web/node_modules/.cache/storybook/public/ directory).
It turned out that the issue was @million/lint (a fancy react render tracker that i was trying out) in my web/vite.config.js - i didn't even have the plugin enabled, just the import was enough to break it.

I've filed an issue with million: aidenybai/million#1163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/needs-info More information is needed for reproduction help-wanted
Projects
None yet
Development

No branches or pull requests

2 participants