-
-
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
Stories doesn't show up in the browser #1398
Comments
Can you share the code you have in |
It the code generated by getStoryBook. I didn't change anything but I can share if you want. I wanted to try storybook with my app based on https://github.com/junedomingo/movieapp |
Same is happening for me. |
Is there anything in the console of the browser window? |
I had this issue, but turns out I forgot to add |
@matt-oakes There is no error in the console. |
This is also happening for me (CRNA app). I just started playing with storybook + react native yesterday. Below are my
@codecitrus it seems latest build of storybook only has @matt-oakes there are some warnings about |
Just found out the solution - I have to replace
Working perfectly now! |
This is related to this existing issue: I hadn't time to work on it but it should not be too hard if the dev setup is now ok |
Same problem with a clean CRNA app and following the instructions to add storybook. No stories are shown in the left panel even replacing
|
@josefernand I just got it working in a fresh CRNA app, so let's figure out what's going wrong. Your symptoms seem to be identical to: #1567 Duplicating my response here:
Also I've submitted a PR to address #1222 referenced above, should simplify things a bit once it's merged/released: #1568 |
@shilman It's working now thanks a lot! |
@josefernand was it just a matter of following those instructions? or did you have to do something else? |
@shilman my app was not loading properly on the device, so the stories were not loaded either. Following your instructions, I finally realized that. |
Please reopen if there's still an issue. |
@shilman I have tried that on a clean install of react-native init , there are no stories after I start the simulator. Do I need to do any other changes ? everything is fresh I didn't changed nothing. |
I got the same problem as @tibbus |
As far as I remember my issue was that I started the simulator before the storybook server. You need first to start the storybook and then run react-native run.... |
@tibbus my issue is exactly the same with you.And with the right sequence ,it works... |
@Hunsu Did you solve the issue I got the same issue he stories were not displaying in the browser. |
Same problem. |
@swaroopa94 Yes the issue was solved for me a while ago. I don't really use it right now so I can't say. |
@Hunsu you did not remember what you did? |
The official guid only tell us to run 'npm run storybook', but it's very important for react native developers to know when to run this command, and where the components would shows. |
Hello all, I am facing a similar issue. When I run Like this: What should I do to enable the stories without changing the index of my application? UPDATE
|
Sorry I know this is an old issue - but I'm scratching my head following the React Native tutorial at learnstorybook.com because all the screenshots seem to imply that you should see the elements in the browser too: https://www.learnstorybook.com/intro-to-storybook/react-native/en/simple-component/ Is there some magic I can't figure out? All I see is the |
I followed the instructions in read me to add storybook to my application (not CRNA application). When I run my application I get blank page and the basic stories doesn't show up in the browser.
The text was updated successfully, but these errors were encountered: