-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
ERROR in ./node_modules/react-native/index.js 13:7 #149
Comments
@ghmendonca hey thanks for raising this issue, I will look into it when I can :). |
I tried following the same "Storybook for React Native tutorial" to add Storybook to an existing expo application. I'm using MacOS. I get the same |
I had changed (Now I just need to figure out why the sidebar never finishes loading for me.) |
Any progress? |
@ghmendonca what version of react-native-web are you using? It's probably using v0.13 or something. If you downgrade it to 0.11.7 it might work. Please bear in mind that this tutorial is very out of date now and even the expo taskbox template is drastically different since when the tutorial was written. |
Getting this error when running on react native expo project (project is inside a NX monorepo for context. As the error is the same as reported here with other react-native projects, I think this is an issue with storybook vs nx). Package Versions:
Followed setup instructions in this tutorial that has steps to upgrade to storybook v6: https://nx.dev/latest/react/storybook/overview |
@mandajoan there is currently no support for 6.0 with react native storybook so you'll need to downgrade otherwise I can't guarantee it will work. These two versions (5 and 6) are not intended to be compatible because 6.0 has breaking changes. |
ah thank you! Also what we were missing in our webpack.config.js in the .storybook of the project to get past this error was:
|
Describe the bug
Just followed the react native getting started tutorial (https://www.learnstorybook.com/intro-to-storybook/react-native/en/get-started/), added typescript support and when I try to run yarn storybook I get this error
To Reproduce
Steps to reproduce the behavior:
Just follow this link: https://www.learnstorybook.com/intro-to-storybook/react-native/en/get-started/
Expected behavior
Expect to get storybook to start working
System
The text was updated successfully, but these errors were encountered: