Open skinnynpale opened 5 months ago
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
if you reload the application from the simulator (using the hot button)
What do you mean with the "hot button" in the simulator?
if you reload the application from the simulator (using the hot button)
What do you mean with the "hot button" in the simulator?
when I press "R" while in the application, the metro bundler reload is triggered
I've tested this on RN Tester, and the problem doesn't happen. @skinnynpale are you able to create a reproducer of any sort? I suppose this could be related to some 3rd party library you have included.
I've tested this on RN Tester, and the problem doesn't happen. @skinnynpale are you able to create a reproducer of any sort? I suppose this could be related to some 3rd party library you have included.
Okay, thank you! I'll try
@skinnynpale, are you running into this issue in Bridgeless mode?
Fabric - The New Renderer, TurboModule - The New Native Module System, JSI - Javascript Interface, Bridgeless - The New Initialization Flow, Codegen
This code should never run in Bridgeless mode! I think you've stumbled onto an interesting bug. Looking forward to the reproducer!
@skinnynpale, are you running into this issue in Bridgeless mode?
Fabric - The New Renderer, TurboModule - The New Native Module System, JSI - Javascript Interface, Bridgeless - The New Initialization Flow, Codegen
This code should never run in Bridgeless mode! I think you've stumbled onto an interesting bug. Looking forward to the reproducer!
Research has shown that this error is triggered by createStackNavigator. We are thinking about switching to a native stack.
@skinnynpale, are you running into this issue in Bridgeless mode?
Fabric - The New Renderer, TurboModule - The New Native Module System, JSI - Javascript Interface, Bridgeless - The New Initialization Flow, Codegen
This code should never run in Bridgeless mode! I think you've stumbled onto an interesting bug. Looking forward to the reproducer!
I'm sorry, we don't have Bridgeless enabled, I thought it was enabled by default in the new architecture
we don't have Bridgeless enabled, I thought it was enabled by default in the new architecture
Nope it needs to be enabled separately in 0.73 @skinnynpale are you able to create a repro in any form?
we don't have Bridgeless enabled, I thought it was enabled by default in the new architecture
Nope it needs to be enabled separately in 0.73 @skinnynpale are you able to create a repro in any form?
@cortinico it caused by the react-native-screens with @react-navigation/bottom-tabs,
you can reproduce this issue with below repro. (when you trigger the "reload" inside app, the error happen, but NOT from terminal
it caused by the react-native-screens with @react-navigation/bottom-tabs,
Great, can we open an issue against react-native-screens
and link it here?
it caused by the react-native-screens with @react-navigation/bottom-tabs,
Great, can we open an issue against
react-native-screens
and link it here?
sure. @cortinico please help to link it. i don't know which side (RN or RNScreens) cause this issue.
sure. @cortinico please help to link it.
Please create the issue there, and post it here afterwards
Description
if you reload the application from the simulator (using the hot button), we get the following error, if you reload the application from the metro bundler, then there is no such error
ERROR Invariant Violation: Failed to call into JavaScript module method RCTEventEmitter.receiveEvent(). Module has not been registered as callable. Bridgeless Mode: false. Registered callable JavaScript modules (n = 10): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, HMRClient, AppRegistry. 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
Steps to reproduce
if you reload the application from the simulator (using the hot button), we get the following error, if you reload the application from the metro bundler, then there is no such error
React Native Version
0.73.2
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer, TurboModule - The New Native Module System, JSI - Javascript Interface, Bridgeless - The New Initialization Flow, Codegen
Output of
npx react-native info
Stacktrace or Logs
Reproducer
--
Screenshots and Videos