Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`

You have to add the 'react-native-reanimated/plugin' to the plugins array.
make sure this Plugin should be the last.

open the babel.config.js in the root of your project and modify it as follow:

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

NOTE: After adding the react-native-reanimated/plugin to your project you may encounter a false-positive “Reanimated 2 failed to create a worklet” error. In most cases, this can be fixed by cleaning the application’s cache. Depending on your workflow or favourite package manager that could be done by:

yarn start --reset-cache
npm start -- --reset-cache
expo start -c

For more information

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)