New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V2: Upgrade error InnerNativeModule.installCoreFunctions
#846
Comments
Hi. Did you run this with remote debugging enabled? |
@terrysahaidak no, didn't had remote debugging enabled |
What platform do you use? |
@terrysahaidak ios with
|
Ok, this is weird then. Could you try to clean build folder and rebuild your project from XCode? |
@terrysahaidak tried cleared cached on react-native and clean build on XCode, and no avail |
Then the only way to figure this out is to provide reproducing repo. |
@terrysahaidak haven't had had a chance to create a reproducing repo but found that the issue is from adding
to a project using wix/react-native-navigation which uses multiple root views |
This issue should no longer appear. I am not able to reproduce on any stable version. If you still have this problem with the stable version please let me know. |
Have this exact same issue with |
I'm getting the same issue as @samrith-s but with reanimated@v2.3.0-beta.2, the only version that works with RN 0.66. Any ideas for fixes? |
+2 |
+1 also with "react-native-reanimated": "2.3.0-beta.2", |
global.__reanimatedModuleProxy in undefined |
Can we have this issue reopened @jmysliv @piaskowyk? Keeping it closed keeps it buried and it looks like its causing some trouble for RN 0.66 |
Started a new issue since this issue is marked as closed #2525 |
Hi guys. I've found this issue when I upgrade from RN 0.65 to 0.66. I fixed folowing the installation instructions here https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/ Well, I don't know why this was working before, but in my project was missing some steps, like enableHermes:true and some overrides. Now is working like a charm.
|
i have the same issue "react-native": "0.66.0", |
it worked with me after adding hope it will work with u guys |
was facing same problem I changed in android/app/build.gradle and in the MainApplication.java It worked like a charm |
Note for all arriving here as they upgrade to React Native |
"react-native": "0.66.0", :hermes_enabled => true npm start --reset-cache android works fine. ios error: |
This works for me. Thank you! I am on :
I changed in android/app/build.gradle: In the MainApplication.java:
I deleted the node modules (rm -rf node_modules) I ran yarn start --reset-cache I ran "Yarn" cd ios and ran Pod install yarn run android |
This solution is working fine for M1 as well. |
TypeError: Cannot read property 'installCoreFunctions' of undefined i'm getiing this error |
works for me delete '^' |
just replaced above code(copied from reanimated documentaion) with below one worked for me
|
this work for me. |
It worked too! at least with warns... TYTY :) |
Same thread here: #2525 |
Configuraciones de la documentacion |
You must install according to these instructions Add this code in MainApplication |
For wanderers having this issue on iOS (or very similar, something about the JSI module not having the VM reference early on).. RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self
launchOptions:launchOptions];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"MyApp"
initialProperties:initialProps]; Not |
@ybonnetain your comment saved me days of work! Becuase we use Codepush we had this line:
But after changing it to:
The installCodeFunctions error disappered. I think many people that use CodePush had the same problem. Probably when integrating Codepush you accidentally remove the RCTBridge line and use the other variation of the constructor RCTRootView. I think this should be added to the docs, just in case. |
I have followed the guide of this comment #846 (comment) and now it is giving me an error as this - |
@yaronlevi you saved my life. THANKS YOU |
This gives this error |
Tried with
But now this gives another error and the app doesn't build
Any updates here? |
You need to conform to |
@ybonnetain it's giving a compilation error Here is my AppDelegate.m Stuck on this issue error since months now. |
Line 71, sorry it's @ not $. But you also need to conform to RCTBridgeDelegate. You may want to move this issue to stackoverflow and DM me the link ;) |
@ybonnetain Facing issues. InstallCoreFunction seems to crash with another error . |
hi. i can't find android/app/build.gradle on my pc. |
I don't know if you fix it but with the new react-native there is no more initialProperties:initialProps so instead of that use this solution but change initialPropertis:nil . RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge That's how I made it work on react-native 0.68.1 |
Description
When running the app after 1.8 to 2 upgrade Reanimated throws this error:
Screenshots
Steps To Reproduce
Package versions
The text was updated successfully, but these errors were encountered: