Problems with babel and react-native-reanimated #5756
Unanswered
Emanuel-Cordeiro
asked this question in
Q&A
Replies: 1 comment
-
Hey! Have you managed to fix the issue? I am seeing multiple discussions where people complain about the drawer navigation and I think that something might be wrong with this library. The link to your sample project no longer works so I cannot test it locally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to build a react native application using react-navigation-drawer, which requires react-native-reanimated in order to work. Even if I follow de documentation I get this error while bundling my project:
error: index.js: Cannot find module 'react-native-reanimated/´plugin'
Require stack:
.\Aplicativo\node_modules@babel\core\lib\config\files\plugins.js
.\Aplicativo\node_modules@babel\core\lib\config\files\index.js
.\App Planilha\Aplicativo\node_modules@babel\core\lib\index.js
.\App Planilha\Aplicativo\node_modules\metro-transform-worker\src\index.js
.\App Planilha\Aplicativo\node_modules\metro\src\DeltaBundler\Worker.flow.js
.\App Planilha\Aplicativo\node_modules\metro\src\DeltaBundler\Worker.js
.\App Planilha\Aplicativo\node_modules\jest-worker\build\workers\processChild.js
I reinstalled all dependencies and put the plugin in babel.config.js, just like the docs, and cleaned the application cache, but it didnt work. Using react-navigation-stack or tabs works just fine.
There is a sample of the project in https://github.com/Emanuel-Cordeiro/Aplicativo.
I'm using android studio as an emulator.
Beta Was this translation helpful? Give feedback.
All reactions