animated node with id 2 already exists react native

Solutions on MaxInterview for animated node with id 2 already exists react native by the best coders in the world

showing results for - "animated node with id 2 already exists react native"
Jimmy
27 May 2016
1
2
3So I solved it by adding the code below to the package.json file!
4
5"resolutions": { "**/react-native-reanimated": "2.1.0" }
6
7the version is acording to the project for me its "2.1.0"
8
9Add a resolutions field to your package.json file and define your version overrides:
10
11
12Example
13package.json
14
15{
16  "name": "project",
17  "version": "1.0.0",
18  "dependencies": {
19    "left-pad": "1.0.0",
20    "c": "file:../c-1",
21    "d2": "file:../d2-1"
22  },
23  "resolutions": {
24    "d2/left-pad": "1.1.1",
25    "c/**/left-pad": "^1.1.2"
26  }
27}
28Then run yarn install
29
30
31yarn why react-native-reanimated
32
33
34
35
36it working now for me
37