Issue
I’m encountering multiple issues while developing my React Native mobile application. The app runs on the iOS emulator, but I receive the following errors in the terminal:
ERROR TypeError: Cannot read property ‘isConfigured’ of undefined
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 For context, here are some details about my development environment:
System information
React Native Version: 0.72.5
react-native-reanimated Version: 3.13.0
JavaScript Engine: Hermes Development
Machine: MacBook Air with M1 chip
Package Manager: Yarn
Additionally, my Android emulator setup seems correct, but when I attempt to run the app on an Android emulator, I encounter this error:
Task :react-native-reanimated:buildCMakeDebug[arm64-v8a] FAILED
What Happened
Despite these efforts, the build fails consistently on iOS with the following errors:
TypeError: Cannot read property ‘isConfigured’ of undefined [Reanimated] Failed to create a worklet Why It Didn’t Meet My Needs: These errors prevent the application from running as expected. I’ve followed the troubleshooting steps provided in the Reanimated documentation but haven’t found a solution.
Actions Taken
Verified and ensured correct configuration of Podfile and babel.config.js. Cleaned the build and reinstalled node modules and pods (yarn install and cd ios && pod install). Rebuilt the project multiple times. Confirmed Android Studio and emulator settings are correct.
G12G1 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.