I got code from this website: https://www.google.com/amp/s/aboutreact.com/react-native-login-and-signup/amp/ Please help meenter image description here
Either code you write or dependencies libraries use React native Reanimated 2 worklet.
In your project structures, Look at a file named babel.config.js
and add the code below:
module.exports = {
presets: ['module: metro-react-native-babel-preset'],
plugins: [
'react-native-reanimated/plugin'
]
};
You can try this method first:
npx
npx react-native start --reset-cache
Yarn
yarn start --reset-cache
I hope this method can solve your problem