Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 Failed to create a worklet. Did you forget to add Reanimated Babel plugin in babel.config.js? #4940

Closed
alejandro-geeksquare opened this issue Aug 18, 2023 · 7 comments
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Needs review Issue is ready to be reviewed by a maintainer Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS

Comments

@alejandro-geeksquare
Copy link

alejandro-geeksquare commented Aug 18, 2023

Description

I have deleted node_modules, ios and android folder. Cleared cache, restarted my computer but still getting the same error. Any ideas? Thank you so much

Captura de pantalla 2023-08-18 a las 17 51 47 Captura de pantalla 2023-08-18 a las 17 51 37 Captura de pantalla 2023-08-18 a las 17 50 38 Captura de pantalla 2023-08-18 a las 17 52 23 Captura de pantalla 2023-08-18 a las 17 52 38
@alejandro-geeksquare alejandro-geeksquare added the Needs review Issue is ready to be reviewed by a maintainer label Aug 18, 2023
@github-actions github-actions bot added Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS Missing repro This issue need minimum repro scenario labels Aug 18, 2023
@github-actions
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@alejandro-geeksquare
Copy link
Author

this problem appears when i try to start
const Drawer = createDrawerNavigator()
from "@react-navigation/drawer"

@dhruvpvx
Copy link

dhruvpvx commented Aug 20, 2023

You are writing it wrong

change

module.exports = function (api) { api.cache(true); return { presets: ['babel-preset-expo'], plugins: [ [ 'module-resolver', { root: ['.'], alias: { src: './src', }, }, 'react-native-reanimated/plugin', ], ], }; };

to

module.exports = function (api) { api.cache(true); return { presets: ['babel-preset-expo'], plugins: [ [ 'module-resolver', { root: ['.'], alias: { src: './src', }, }, ], 'react-native-reanimated/plugin', ], }; };

@alejandro-geeksquare
Copy link
Author

@dhruvpvx Thank you very much, this stupid error is driving me crazy

@Salmahana
Copy link

I am having same problem above , but I am not able to understand the changes that dhruvpvx wrote , is it in babel.config.js file ?

@dhruvpvx
Copy link

dhruvpvx commented Sep 5, 2023

I am having same problem above , but I am not able to understand the changes that dhruvpvx wrote , is it in babel.config.js file ?

Yes

Copy link

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Steps to reproduce, Snack or a link to a repository, Reanimated version, React Native version and Platforms sections.

@github-actions github-actions bot added the Missing info The user didn't precise the problem enough label Jun 18, 2024
@alejandro-geeksquare alejandro-geeksquare closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Needs review Issue is ready to be reviewed by a maintainer Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS
Projects
None yet
Development

No branches or pull requests

3 participants