question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?

See original GitHub issue

Bug

running yarn ios got Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?

Environment info

Library Version
@gorhom/bottom-sheet ^3
react-native ~0.63.4
react-native-reanimated ^2.0.0
react-native-gesture-handler ^1.10.3

Steps To Reproduce

yarn ios

Package.json

{
  "main": "index.js",
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "web": "expo start --web",
    "start": "react-native start",
    "test": "jest"
  },
  "dependencies": {
    "@gorhom/bottom-sheet": "^3",
    "@react-native-async-storage/async-storage": "^1.14.1",
    "@react-native-community/geolocation": "^2.0.2",
    "@react-native-community/masked-view": "^0.1.10",
    "@react-native-community/netinfo": "^6.0.0",
    "@react-native-firebase/analytics": "^10.8.1",
    "@react-native-firebase/app": "^10.8.1",
    "@react-native-firebase/auth": "^10.8.1",
    "@react-native-firebase/database": "^10.8.1",
    "@react-native-firebase/firestore": "^10.8.1",
    "@react-native-firebase/functions": "^10.8.1",
    "@react-native-firebase/messaging": "^10.8.1",
    "@react-native-firebase/remote-config": "^10.8.1",
    "@react-native-firebase/storage": "^10.8.1",
    "@react-navigation/native": "^5.9.3",
    "@react-navigation/stack": "^5.14.3",
    "expo": "~40.0.0",
    "expo-ads-admob": "^9.0.0",
    "expo-image-picker": "^10.0.0",
    "expo-notifications": "^0.9.0",
    "expo-splash-screen": "~0.8.0",
    "expo-status-bar": "~1.0.3",
    "expo-updates": "~0.4.0",
    "geofire-common": "^5.2.0",
    "moment": "^2.29.1",
    "native-base": "^2.15.2",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-native": "~0.63.4",
    "react-native-cheerio": "^1.0.0-rc.4",
    "react-native-device-settings": "^1.2.0",
    "react-native-emoji": "^1.8.0",
    "react-native-gesture-handler": "^1.10.3",
    "react-native-gps-state": "^2.0.3",
    "react-native-reanimated": "^2.0.0",
    "react-native-safe-area-context": "^3.2.0",
    "react-native-screens": "^2.18.1",
    "react-native-share": "^5.1.4",
    "react-native-unimodules": "~0.12.0",
    "react-native-web": "~0.13.12",
    "react-native-webview": "^11.2.3"
  },
  "devDependencies": {
    "@babel/core": "~7.9.0",
    "babel-jest": "~25.2.6",
    "jest": "~25.2.6",
    "react-test-renderer": "~16.13.1"
  },
  "jest": {
    "preset": "react-native"
  },
  "private": true
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
sameer-kumar-jaincommented, Apr 22, 2021

For me yarn start --reset-cache works

8reactions
anujraghuvanshicommented, Mar 28, 2021

Anybody with solution of this ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reanimated 2 failed to create a worklet, maybe you forgot to ...
Description Getting Issue in build compilation- Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?
Read more >
Reanimated 2 failed to create a worklet, maybe you forgot to ...
The error is: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin? react-native ...
Read more >
Error: Reanimated 2 failed to create a worklet
Error : Reanimated 2 failed to create a worklet — Maybe You Forgot to Add Reanimated's babel Plugin? The solution… Photo by Richard...
Read more >
Reanimated 2 failed to create a worklet, maybe you ... - Reddit
When I add this imports I get title error. import Animated, { useAnimatedStyle, useSharedValue, withDelay, withRepeat, withTiming, ...
Read more >
reanimated 2 failed to create a worklet - You.com | The AI ...
"Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin" when using createDrawerNavigator().
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found