Storybook composition won't load
See original GitHub issueHi,
What’s the problem?
i am trying to setup storybook composition, and have strange problems,
everything works fine on local machine, but wouldn’t work on gitlab pages, each url from composition configuration is working, and can be opened separately without problems, but when i open root storybook, all composite parts are stuck in loading, without any error in console, network requests to stories.json completed.
When i run root storybook locally with urls pointing to gitlab pages - it also works.
Any ideas what might be causing this problem?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Storybook composition without stories · Issue #12705 - GitHub
I would like to create a storybook composition created of multiple URLs without having any of the stories defined in the project (empty...
Read more >Storybook Composition
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >Storybook composition won't load #14679 - Issuehunt
i am trying to setup storybook composition, and have strange problems, everything works fine on local machine, but wouldn't work on gitlab pages,...
Read more >How to troubleshoot storybook not loading stories?
I'm trying to load up the demo storybook stories ( withText , withIcon ), using this react guide, but I cannot get any...
Read more >Composition • Chromatic docs
That means you can combine published Storybooks with your local Storybook using Composition. Chromatic does not snapshot externally composed Storybooks for ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hey, I think I solved it by changing my ref urls (in the composition’s
main.js) from absolute (https://bucket.s3-region.amazonaws.com/url/to/refd/storybook) to relative (/url/to/refd/storybook)edit: I still need at least one “dummy story”, however.
Hi @prewk your solution worked for me as well!