Open leadbassist opened 2 years ago
Having same issues. Any solution for that ?
same here
did anyone get a solution?
This happens because @rainbow-me/react-native-animated-charts
has a version of react-native-reanimated
inside its node_modules
folder instead of listing it as a peer dependency, and it is trying to use the same native module as the newer instance installed on your project. The older instance tries to call a removed function in the newer version of the native module, which causes this error. To fix this, modify your package.json
to use only one version of reanimated by adding the following:
For yarn
"resolutions": {
"react-native-reanimated": <your reanimated version>
}
For npm
"overrides": {
"react-native-reanimated": <your reanimated version>
}
Then run yarn
or npm install
accordingly.
Windows. React Native project. Yarn. Using Expo. Followed your docs:
Used your example on a separate screen:
Phone shows:
Now the problem will happen:
As soon as I add ANY or ALL of the imports, Expo crashes.
Is there a solution to this?