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.

Cannot find module 'react-native-reanimated/plugin' from project folder

See original GitHub issue

Description

I am using this package as a dependency of react-native-draggable-flatlist. When I did npm install react-native-reanimated v1.13.2 got installed automatically. And when I ran the app got following error.

Cannot find module ‘react-native-reanimated/plugin’ from project folder

below is babel.config.js

      module.exports = {
        presets: ['module:metro-react-native-babel-preset'],
        plugins: [ 'react-native-reanimated/plugin']
      };

Screenshots

Capture

Steps To Reproduce

Just do npm install react-native-reanimated. Then Run the app.

Expected behavior

reanimated shouldn’t give any errors

Actual behavior

Showing above mentioned error when app is ran

Snack or minimal code example

Con’t provide any snack since error belongs to package installation

Package versions

  • React: “16.13.1”
  • React Native: “0.63.2”
  • React Native Reanimated: “1.13.2”

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:9
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

59reactions
jakub-gonetcommented, Feb 19, 2021

You use Reanimated v1, you don’t need the plugin to get it working. Try removing it from the babel plugins and check if it resolves this issue for you.

1reaction
jotaxzxcommented, Aug 19, 2021

Utiliza Reanimated v1, no necesita el complemento para que funcione. Intente eliminarlo de los complementos de babel y verifique si resuelve este problema por usted.

Esto es trabajo para mi.

Eliminé el complemento de la última versión y agregué “react-native-reanimated”: “1.13.3”.

y elimine la entrada del complemento de babel.config.js

for me it also worked with version 1.13.3 and I had to install rn-nodeify

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'react-native-reanimated/plugin' from ...
Cannot find module 'react-native-reanimated/plugin' from /projectFolder · Ask Question. Asked 2 years, 3 months ago. Modified 1 month ago.
Read more >
Cannot find module 'react-native-reanimated/plugin' from ...
Coding example for the question Cannot find module 'react-native-reanimated/plugin' from /projectFolder-babel.js.
Read more >
Installation | React Native Reanimated - Software Mansion
The steps needed to get reanimated properly configured are listed in the below paragraphs. Installing the package​. First step is to install react-native- ......
Read more >
react-native-reanimated - npm
If you want to play with the API but don't feel like trying it on a real app, you can run the example...
Read more >
Modules | IntelliJ IDEA Documentation - JetBrains
Select the top-level directory in the Project tool window and press Alt+Insert or select New | Module from the context menu. The New...
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