Reanimated 2 failed to create a worklet

When 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.

3 thoughts on “Reanimated 2 failed to create a worklet

  1. Same situation here:

    module.exports = {
      presets: ['module:metro-react-native-babel-preset'],
      plugins: ['react-native-reanimated/plugin']
    };
    

    Screen Shot 2021-03-01 at 6 58 36 PM