-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Generated React Native files do not work with storybook in a vanilla app. #1200
Labels
Comments
This issue should be labelled |
@tmeasday No idea what happened to |
This went out last week. Follow up issue: #1277 |
This was referenced Nov 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was putting together a RN app for #1012, and ran into. I followed the following steps:
At this stage I should see stories in the simulator, ie, something like
However, what I see is the standard starting app:
And no stories show in the UI.
I believe the problem was introduced by 3e2673b, which means that
getstorybook
createsstorybook/index.js
rather thanstorybook/index.[ios|android].js
. Changing the filename myself and restarting things fix the issue.I can't find documentation but I think the core problem is in setting
--projectRoot=[configDir,projectDir]
here https://github.com/storybooks/storybook/blob/master/app/react-native/src/bin/storybook-start.js#L49, the RN packager will look for andindex.ios.js
inconfigDir
(i.e../storybook
), and failing that, revert to the theprojectDir
.The text was updated successfully, but these errors were encountered: