A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/brody4hire/react-native-module-init/issues/42 below:

Example App Crashing After Adding Dependencies to Module · Issue #42 · brody4hire/react-native-module-init · GitHub

Situation:

Issue:
When the app launches on the iOS simulator, there are 3 errors in the Javascript console:

Invariant Violation: Module HMRClient is not a registered callable module (calling setup)

Invariant Violation: Module RCTLog is not a registered callable module (calling logIfNoNativeHook)

Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)

Once I start throwing these errors, I cannot get the example app to run again.

I've cleared out Metro Bundler's cache. I've cleaned build folders. I've removed node_modules folders and installed fresh packages. I've removed Pods and installed fresh pods. I've restarted m machine.

The ONLY way I can get it to run again is by pushing my branch to GitHub, removing the directory from my machine, cloning from GitHub, running yarn and pod install for the example folders.

The fix leads me to believe that something must be cached that I'm not clearing out. Any help would be greatly appreciated!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4