Error: [Reanimated] Failed to create a worklet. #5504
Unanswered
Saurabh-iMark
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi! Have you written some code that uses reanimated or you get this error just after installing reanimated and gesture handler? If this is your module.exports = {
presets: ['module:@react-native/babel-preset'],
this.plugins: ['react-native-reanimated/plugin']
}; Please try to remove the module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: ['react-native-reanimated/plugin']
}; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ERROR Error: [Reanimated] Failed to create a worklet. See https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#failed-to-create-a-worklet for more details., js engine: hermes
This error comes again and again after installing both packages(reanimated, gesture handler):
Package.json->
"dependencies": {
"@react-navigation/bottom-tabs": "^6.5.11",
"@react-navigation/drawer": "^6.6.6",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.17",
"axios": "^1.6.2",
"deprecated-react-native-prop-types": "^2.2.0",
"react": "18.2.0",
"react-native": "0.73.0",
"react-native-encrypted-storage": "^4.0.3",
"react-native-gesture-handler": "^2.14.0",
"react-native-image-crop-picker": "^0.40.2",
"react-native-reanimated": "^3.6.1",
"react-native-safe-area-context": "^4.8.1",
"react-native-screens": "^3.29.0",
"react-native-select-dropdown": "^3.4.0",
"react-native-swiper": "^1.6.0",
"react-native-vector-icons": "^10.0.3"
},
babel.config.js->
module.exports = {
presets: ['module:@react-native/babel-preset'],
this.plugins: ['react-native-reanimated/plugin']
};
Does anybody know how to fix it, I'm stuck here, Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions