Reanimated 2 failed to create a worklet
See original GitHub issueWhen I import Animated in my file, no matter I use it somewhere or not, every time it says that Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?.
My babel.config.js
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: ['react-native-reanimated/plugin'],
};
I’m using ^2.0.0-rc.3 version.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:28 (4 by maintainers)
Top Results From Across the Web
Reanimated 2 failed to create a worklet, maybe you forgot to ...
I followed their installation process: React Native Reanimated instalation guide. The error is: Reanimated 2 failed to create a worklet, maybe you forgot...
Read more >Reanimated 2 failed to create a worklet, maybe you forgot to ...
I put the reanimated plugin on bottom of my plugins array and ran yarn start --reset-cache but still am hitting Reanimated 2 failed...
Read more >Error: Reanimated 2 failed to create a worklet
(The above is a basic example to recreate the error and solution. Your babel.config.js might be different. As long as the 'react-native-reanimated/plugin' is ......
Read more >Installation | React Native Reanimated - Software Mansion
After adding the react-native-reanimated/plugin to your project you may encounter a false-positive "Reanimated 2 failed to create a worklet" error.
Read more >reanimated 2 failed to create a worklet, maybe ... - You.com
ERROR Error : Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin? Expected behavior. Actual behavior &...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

yarn start --reset-cachehelped in my case on Android.npx react-native start --reset-cachesolved my issue