Upgrading to 6.13.0 from 6.12.0 breaks the build
Description
I just upgraded from 6.12.0 to 6.13.0 and getting the following exception from Metro on launch:
ERROR Invariant Violation: Tried to register two views with the same name HighlighterView, js engine: hermes ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
Related to
- [x] Components
- [ ] Demo
- [ ] Docs
- [ ] Typings
Steps to reproduce
- Update the package version in package.json to 6.13.0
- Run yarn
- Run react-native start --reset-cache
- Launch App.
Expected behavior
Bundle loads successfully and App launches as usual
Actual behavior
The following error post compilation:
ERROR Invariant Violation: Tried to register two views with the same name HighlighterView, js engine: hermes ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
More Info
The error goes away when I roll-back to 6.12.0
The project is on React Native 0.66.4 (Non Expo)
Code snippet
Screenshots/Video
Environment
- React Native:
- React Native UI Lib:
Affected platforms
- [ X ] Android
- [ ] iOS
- [ ] Web
Have you tried yarn start --reset-cache?
Hi, do you know if this issue is still relevant? Can you reproduce it?