react-native-animated-charts
react-native-animated-charts copied to clipboard
Expo crashes when I add ANY of the import commands: "TypeError: this.InnerNativeModule.configureProps is not a function."
Windows. React Native project. Yarn. Using Expo. Followed your docs:
- installed react-native-reanimated (~2.3.1).
- Adjusted my babel.config.js file.
- Installed @rainbow-me/animated-charts (^1.0.0-alpha.6)
- Cleared Expo bundler cache using "expo start --clear"
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?
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.