Upgrade 0.70 RN | Android | E/ReactNativeJS: TypeError: _.default.createNode is not a function. #34945
Labels
Needs: Triage 🔍
Platform: Android
Android applications.
Type: Upgrade Issue
Issues reported from upgrade issue form
New Version
0.70
Old Version
0.64.2
Build Target(s)
Emulator Android 12 Google Play | x86_64
Output of
react-native info
System:
OS: Windows 10 10.0.19044
CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
Memory: 1.04 GB / 31.69 GB
Binaries:
Node: 16.16.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.19.2 - ~\AppData\Roaming\npm\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 28, 29, 30, 31, 33
Build Tools: 29.0.2, 30.0.2, 30.0.3, 31.0.0
System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom,
android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom, android-31 | Intel x86 Atom_64, android-31 | Google APIs Intel x86 Atom_64, android-31 | Google Play Intel x86 Atom_64
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-213.7172.25.2113.9014738
Visual Studio: Not Found
Languages:
Java: 11.0.15
npmPackages:
@react-native-community/cli: ^9.0.0 => 9.1.3
react: ^18.1.0 => 18.1.0
react-native: ^0.70.0 => 0.70.0
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Issue and Reproduction Steps
When I try to build the app and run it in the android emulator, I get the following error in the logcat:
E/ReactNativeJS: TypeError: .default.createNode is not a function. (In '.default.createNode(this.__nodeID,Object.assign({},this.__nodeConfig))', '_.default.createNode' is undefined)
I would appreciate any help. Thanks!
Error:
2022-10-11 11:54:37.042 11329-11454/com.restlessnetwork E/ReactNativeJS: TypeError: .default.createNode is not a function. (In '.default.createNode(this.__nodeID,Object.assign({},this.__nodeConfig))', '.default.createNode' is undefined)
2022-10-11 11:54:37.050 11329-11454/com.restlessnetwork E/ReactNativeJS: 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.
2022-10-11 11:54:37.056 11329-11455/com.restlessnetwork E/unknown:ReactNative: Exception in native call
com.facebook.react.common.JavascriptException: TypeError: .default.createNode is not a function. (In '.default.createNode(this.__nodeID,Object.assign({},this.__nodeConfig))', '.default.createNode' is undefined), stack:
value@1775:2148
value@1775:1366
_@1787:1448
@1787:163
@1785:211
@1781:896
h@2:1707
@1776:195
h@2:1707
@1774:278
h@2:1707
@1769:8018
h@2:1707
@1768:988
h@2:1707
@1767:571
h@2:1707
@1741:386
h@2:1707
@1739:602
h@2:1707
@1738:1230
h@2:1707
@1737:126
h@2:1707
@383:641
h@2:1707
@382:167
h@2:1707
@6:57
h@2:1707
d@2:1080
global code@3376:3
2022-10-11 11:54:37.060 11329-11455/com.restlessnetwork E/unknown:ReactNative: Exception in native call
com.facebook.react.common.JavascriptException: 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., stack:
@29:289
value@53:3310
@53:759
value@53:2583
value@53:731
value@-1
The text was updated successfully, but these errors were encountered: