Closed kalynrobinson closed 1 year ago
@kalynrobinson usually this happens because of an error somewhere with a missing import or something along those lines, can you send me a reproduction of this?
@dannyhw here's a stripped down version of what I'm working with --
https://github.com/kalynrobinson/storybook-react-native-web
If you clone the repo and do the following, the issue should occur:
yarn
cd packages/storybook
yarn storybook
@kalynrobinson you just need to install "metro-react-native-babel-preset" and it will work, just tested it. I'll add it to the readme, usually its assumed you have react-native installed which comes with this preset.
Describe the bug
When adding @storybook/addon-react-native-web to the addons array, Storybook no longer successfully starts. It builds properly but then hangs at 69%.
Building Storybook and then serving the static files does not work.
Using the object form instead of string for adding the addon does not work.
Steps to reproduce the behavior
I added it to the addons array in main.js, then ran
My Storybook setup has no other customization than what comes out of
npx storybook init
Expected behavior
Storybook should start up normally.
Screenshots and/or logs
Storybook never continues past this point.
Environment
Additional context
Add any other context about the problem here.