-
Notifications
You must be signed in to change notification settings - Fork 24.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
React Native 0.43 completely broken #13311
Comments
Thanks for reporting this, the peer dep isn't actually the issue. Might be related to some yoga commits that were cherry picked recently. cc @grabbou |
Have you tried restarting @janicduplessis I was planning to cherry-pick Yoga commit but eventually didn't, as the commit was to |
I wasn't updating React Native, I was starting a new project. But it does look like I had a packager from a different project running in a hidden terminal window. After killing that and restarting, everything seems to work. Thanks for the help ... but why can different projects impact each other like this? |
@Swizec packager was serving you a bundle for a different React Native version which resulted in a mismatch when JS -> Native calls happen (as per error message). |
Yea every RN packager always runs on the same port so it didn't start a new packager for your new project and just used the one that was running already. |
Description
I ran
react-native init MyAwesomeApp
. It finishes with npm warnings about peer dependencies and the default app doesn't even run.Reproduction Steps and Sample Code
react-native init MyAwesomeApp
cd MyAwesomeApp
react-native run-ios
Observe that it doesn't work.
Solution
I assume the issue stems from this:
And potentially other things related to that. I don't understand enough about how react-native works to know what's wrong.
Additional Information
The text was updated successfully, but these errors were encountered: