Open pvinis opened 5 days ago
Can you make sure that when storybook enabled is false that storybook isnt being loaded by app code (conditionally require it when enabled is true)
You can also try onDisabledRemoveStorybook set to true on the latest version.
Lastly clearing cache can sometimes be required after changing env variables
Alternatively change package exports to true in metro config
Can you make sure that when storybook enabled is false that storybook isnt being loaded by app code (conditionally require it when enabled is true)
You can also try onDisabledRemoveStorybook set to true on the latest version.
Lastly clearing cache can sometimes be required after changing env variables
Alternatively change package exports to true in metro config
@dannyhw i am also facing the same issue,
onDisabledRemoveStorybook
to true ? 🤔 thanks
You need to create a metro config file its required in the setup (see readme).
npx expo customize metro.config.js
See getting started
You need to create a metro config file its required in the setup (see readme).
npx expo customize metro.config.js
See getting started
thanks @dannyhw , i got it working perfectly
Hi, @dannyhw I also face the same issue, and i am using expo@46 and ReactNative@69. Here is the minimum reproducible repository: https://github.com/iamdin/react-native-69-storybook
Describe the bug I am trying to add storybook on an expo 51 project with expo-router.
To Reproduce Steps to reproduce the behavior:
I'll try to make a repro tomorrow, with 8.3.10.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Code snippets If applicable, add code samples to help explain your problem.
System: Please paste the results of
npx -p @storybook/cli@next sb info
here.Additional context Add any other context about the problem here.