-
-
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
React Native CLI install broken in SB5 (temporarily) #5893
Comments
Awesome gist from @johnwylie70 with the current install process end to end: https://gist.github.com/johnwylie70/1f019c643641f56b400acc78415d398d |
We’ve released a brand new |
@shilman upgrade by changing "@storybook/react-native": "5.1-alpha" in package.json? |
Next is both a GitHub branch and also an npm tag. We'll be releasing 5.1 in 2wk which will fix this issue |
Fixed with 5.1 release! |
Running the CLI
sb init
in an RN project installs the wrong version of libraries until we release@storybook/react-native@5.1
which is coming soon.What's going on
@storybook/react-native
is 4.x@storybook/*
is 5.0.xWorkaround
Use the
next
version of the CLI / React native to get5.1.0-alpha.x
:Alternatively, hand edit the version numbers of
@storybook/*
inpackage.json
after runningsb init
to match the latest4.1.x
version of@storybook/react-native
.We won't be issuing a fix since we can use that time to release
@storybook/react-native@5.1
instead. Will update here as soon as that's live.The text was updated successfully, but these errors were encountered: