-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Animated node with ID 2 already exists #1781
Comments
Issue validatorThe issue is invalid!
|
Have you tried putting Reanimated v2 in the resolutions section such that it enforces use of v2 across all the modules which depend on Reanimated? Version 2 of reanimated contains all the methods from v1 so the code written for v1 is expected to work. |
As kmagiera mentioned you should try using the resolutions section to make sure that one version will be used. For more context: when you have multiple versions of Reanimated they still share one native module but they're executing independently so at some point they'll use the same id, crashing the native module. This issue is a bit old. If you still experience this problem, please reply. |
Depending on the version of Moti that you are using, Moti used to declare |
Just faced the same problem with |
Description
When installing and using Reanimated v2 I keep on getting the
Animated node with ID 2 already exists
error.This only happens on Android though.
(I'm not using pure reanimated but i'm using Moti, which relies on Reanimated V2)
I found that people had similar issues because they had a dependency that used Reanimated V1 (~1.13.0), for this is the case as well, but I can't figure out a way to work around this
Screenshots
Package versions
The text was updated successfully, but these errors were encountered: