Reputation: 13
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
Upvotes: -1
Views: 3204
Reputation: 1524
node_modules
directory and run npm i
cd android && ./gradlew clean && cd ..
for iOS remove Podfile.lock
(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
Upvotes: 2