-
Notifications
You must be signed in to change notification settings - Fork 5
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.52.0] Unknown named module: 'react' #9
Comments
Did you try to reset the cache and restart the packager? Something like this:
and restart the packager. |
@bvic23 Yes, I've tried everything:
And restart
The only problem on RN 0.52.0 if you use RN 0.51.0, then everything is fine. |
I see :-(. Let me look into it and @mobdim feel free to send a PR if you find the solution earlier. |
Same issue here. Also on RN 0.52.0. |
Also have this issue. It comes from metro bundler I think. "If you have any scripts in your project that depend on metro-bundler, you will need to change those to metro (related commit). A likely place for this is in rn-cli.config.js. |
A new version is now available that should close this |
Thanks to @Gyran! |
Are you using Yarn? sure the latest version is downloaded? |
@Gyran everything worked after I ran react-native start --reset-cache :) Thank you for the fix. |
@Gyran @hbarylskyi thanks for much! |
Hello.
After upgrade react-native (0.52.0) I receive this error:
Unknown named module: 'react'
Steps to Reproduce
react-native init
App.js
:Just run
react-native run-ios
The text was updated successfully, but these errors were encountered: