Cannot find module 'react-native-reanimated/plugin' from project folder
See original GitHub issueDescription
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
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:
- Created 3 years ago
- Reactions:9
- Comments:18 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
for me it also worked with version 1.13.3 and I had to install rn-nodeify