Invariant Violation: Module AppRegistry is not a registered callabel module (calling runApplication)
Problem
<img width="545" alt="Screenshot 2019-10-02 at 13 35 27" src="https://user-images.githubusercontent.com/5610758/66041369-fe020880-e519-11e9-8616-58da88177c0f.png"> Currently on React Native 0.61.0-rc.3, updating to 0.61.1 causes this issue. React Native version: [code block] Steps To Reproduce 1. Update the package.json values to use latest 0.61.1 (and other latest values pulled for a `react-native init`) 2. Run the project (`yarn && cd ios && pod install && cd .. && yarn start` + `yarn ios`) Describe what you expected to happen: The app should be running like on 0.61.0-rc.3. What major changes where made between the release candidate and 0.61.0 (also your website still show 0.60.0 as the latest version). Here is the source code changes between the two: https://react-native-community.github.io/upgrade-helper/?from=0.61.0-rc.3&to=0.61.1 Snack, code example, screenshot, or link to a repository: Can't be provided, production and private react-native init application.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Invariant Violation: Module AppRegistry is not a registered callabel module (calling runApplication)
Fixed the issue on my end by double checking that i modified all the files correctly during my RN upgrade, then running `watchman watch-del-all`, and `react-native start --reset-cache`. Then on android, build -> clean. then it worked! sigh
Trust Score
10 verifications
- 1
Fixed the issue on my end by double checking that i modified all the files corre
Fixed the issue on my end by double checking that i modified all the files correctly during my RN upgrade, then running `watchman watch-del-all`, and `react-native start --reset-cache`. Then on android, build -> clean. then it worked! sigh
Validation
Resolved in facebook/react-native GitHub issue #26687. Community reactions: 212 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep