this is error. please help me how to fix it!!! I was clean my cache but It dont work!!!
ERROR TypeError: undefined is not a function, js engine: hermes ERROR Invariant Violation: Failed to call into JavaScript module method AppRegis try.runApplication(). Module has not been registered as callable. Registered calla ble 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 i ncorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes ERROR Invariant Violation: Failed to call into JavaScript module method AppRegis try.runApplication(). Module has not been registered as callable. Registered calla ble 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 i ncorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
node_modules
directory and run npm i
cd android &&./gradlew clean && cd..
(windows) cd android && gradlew clean && cd..
For iOS cd ios && rm -rf Pods && pod cache clean --all && pod install && cd..
react-native start --reset-cache
I do not have enough credits to comment. But really in need to know how did you fix it.
PS: Please don't downvote.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.