I installed "react-native-reanimated ^3.11.0"
here is bable.config.js after adding plugins:
according to reanimated docs
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: ['react-native-reanimated/plugin'],
};
App giving an error as
Cannot read property 'makeMutable' of undefine
React Native version
0.74.1
Device
Android Emulator
I am sharing screenshot of error
I installed latest version of react-native-reanimated 3.11.0
and also add plugins in bable.config.js
Here is bable code:
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: ['react-native-reanimated/plugin'],
};
do all things according to reanimated docs
2
Answers
I resolver issue by installing latest version of [email protected] by
yarn add react-native-gesture-handler
These both maybe interconnected with each other. After installing library reset cache by
npm start --reset-cache
It worked for me
About 10 days ago, I was using "react-native-reanimated": "^3.9.0" without any issues. However, after upgrading to version 3.11.0, I started encountering the same problem. I resolved the issue by downgrading the version and running
first
npm install [email protected]
after
npm start -- --reset-cache
.