Error while using 5.0.x
See original GitHub issueCurrent behaviour
I was using 5.0.0-rc.8
and installed 5.0.1 but see the errors while running the iOS app.
ERROR TypeError: Cannot read property 'colors' of undefined, js engine: hermes
ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.
A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
Expected behaviour
It should work without any issues.
What have you tried so far?
I tried to use 5.0.0 and 5.0.1 but both didn’t work.
Your Environment
software | version |
---|---|
ios | 16.1 |
react-native | 0.70.3 |
react-native-paper | 5.0.1 |
node | 16.13.0 |
npm | 8.1.0 |
Issue Analytics
- State:
- Created 9 months ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Confluence always displays "Error While Sending ... - Jira
Confluence always displays "Error While Sending" message when sharing a page with multiple users, although the notifications are sent without problem.
Read more >Amazon.com: ANLEY 5" X 3" Diesel Only Decal 3Pcs
ANLEY 5" X 3" Diesel Only Decal 3Pcs - Reflective Diesel Only Sign on Fuel Tank Signage to Prevent User Error - Adhesive...
Read more >5 Troubleshooting - MIT
x says 'error while loading shared libraries' or 'cannot open shared object file' and does not start. Possible reasons: If you are running...
Read more >Removing an ESXi 5.x host from vCenter Server Inventory fails ...
Removing an ESXi 5.x host from vCenter Server Inventory fails with the error: Invalid Fault (2020565) · On vCenter Server select the ESXi...
Read more >Spring Framework upgrade 5.X leads to error class file for org ...
I can see last version the exact same code works with Spring 4.3.9 (last of 4.X release) and breaks with Spring 5.0.0 (First...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The problem was not updated doc after renaming
adaptNavigationTheme
themes keys, fixed in the commit: https://github.com/callstack/react-native-paper/commit/f972f427060babb75073601ad234ba46b581fbe3The correct solution is:
Hey @Aliendreamer, once I will find some time will check your repo.