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