Answers for "animated node with id 2 already exists react native"

0

animated node with id 2 already exists react native

So I solved it by adding the code below to the package.json file!

"resolutions": { "**/react-native-reanimated": "2.1.0" }

the version is acording to the project for me its "2.1.0"

Add a resolutions field to your package.json file and define your version overrides:


Example
package.json

{
  "name": "project",
  "version": "1.0.0",
  "dependencies": {
    "left-pad": "1.0.0",
    "c": "file:../c-1",
    "d2": "file:../d2-1"
  },
  "resolutions": {
    "d2/left-pad": "1.1.1",
    "c/**/left-pad": "^1.1.2"
  }
}
Then run yarn install


yarn why react-native-reanimated




it working now for me
Posted by: Guest on April-19-2021

Code answers related to "animated node with id 2 already exists react native"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language