-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
RN 0.59.8 - Module react-native
does not exist in Haste module map
#6882
Comments
Same issue as @Jobeso with brand new project following automatic setup. Eventually managed to run it with manual setup which added an old version tho: |
Same issue for me, different module, Note this is using the same version of storybook as @mathew3 as the default auto installer failed due to missing
|
i have same versions, configs and same issue. i can’t start storybook with rn 0.59.8 |
Just installed
|
does it work if you install emotion as a dev dependency? |
same problem |
@benoitdion thanks for the response. I tried out your suggestion and this fixes it. I can create a PR adding those two dev dependencies if it helps you. |
To install
|
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
I had the same issue when installing these versions of Storybook:
Solved it by adding
I guess these dependencies should be added to Storybook's dependencies. |
@benoitdion, could you look into it? |
@benoitdion I think that there are 2 distinct issues here:
|
Jiminy cricket!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.2.0-alpha.41 containing PR #7362 that references this issue. Upgrade today to try it out! You can find this prerelease on the |
Describe the bug
When installing storybook with a clean react-native 0.59.8 project storybook is not working due to react-native not being found in the Haste module map.
Here is a repo to reproduce.
To Reproduce
Steps to reproduce the behavior:
react-native init storybookexample
npx -p @storybook/cli sb init
react-native start --projectRoot storybook
react-native run-ios --simulator 'iPhone 8'
Expected behavior
Seeing default storybook screen.
Screenshots
error message
System:
5.0.11
&4.0.11
Additional context
I also tried downgrading like described in #6452 but the error doesn't change.
I also tried replacing the
index.js
withexport default from './storybook';
but a similar issue occurs saying not being able to findeemotion-theming
in Haste module map, see error messageThe text was updated successfully, but these errors were encountered: