Invariant Violation: Module AppRegistry error
See original GitHub issue "react-native-file-access": "^2.4.1",
"react-native": "^0.67.3",
"react-native-reanimated": "2.4.1",
"@georstat/react-native-image-cache": "^2.1.0",
I am getting the following error while adding to my App.tsx
CacheManager.config = {
baseDir: `${Dirs.CacheDir}/images_cache/`,
blurRadius: 15,
cacheLimit: 0,
sourceAnimationDuration: 1000,
thumbnailAnimationDuration: 1000,
};
TypeError: undefined is not a function, js engine: hermes
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
and also:
ERROR TypeError: undefined is not a function, js engine: hermes
Issue Analytics
- State:
- Created a year ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Invariant Violation: Module AppRegistry is not a registered ...
ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is ...
Read more >react native - Module AppRegistry is not registered callable ...
Trying to start everything up today resulted in this error along with Invariant Violation: Invalid prop 'position' of value 'fixed' supplied to ...
Read more >invariant violation: module appregistry is not a registered ...
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application ...
Read more >Invariant Violation: Module AppRegistry is not a registered ...
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that ...
Read more >React-Native: Module AppRegistry is not a registered callable ...
Android : React-Native: Module AppRegistry is not a registered callable module [ Beautify Your Computer ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You can use whatever version of
react-native-reanimated(v2.x) you want as long as it aligns with the version this module is using, in your case you had 2.4.1 while this package requires 2.8.0, this mismatch caused the issue , that’s why I’ve proposed to use resolutions https://github.com/georstat/react-native-image-cache/issues/22.I understand that this is an aggressive approach, we will loosen the requirement of using a specific version of reanimated as this causes troubles like yours. I think it might not be necessary to add instructions on README, we’ll see.
Thank you for assisting me and for the fast replies. Appreciate it 👍🏻