Duplicate module name: react-animated
See original GitHub issue-
Common to Both platforms :-
- I have gone through the README (https://github.com/razorpay/react-native-razorpay)
- I have searched for a similar issue (https://github.com/razorpay/react-native-razorpay/issues)
- I am using the latest version of our framework (https://github.com/razorpay/react-native-razorpay/releases)
- I have cleaned my project.
Upgraded my react-native project to 0.56
IDE Specs
{
buildToolsVersion = "26.0.3"
minSdkVersion = 16
compileSdkVersion = 26
targetSdkVersion = 26
supportLibVersion = "26.1.0"
}
Razorpay Package Version: 2.0.5
Retro Steps
I have upgraded my react-native version to 0.56 from 0.55
react-native start
react-native run-android
.
Error message
error: bundling failed: Error: jest-haste-map: @providesModule naming collision:
Duplicate module name: react-animated
Paths: .../node_modules/react-native-razorpay/node_modules/react-native/Libraries/Animated/release/package.json collides with .../node_modules/react-native/Libraries/Animated/release/package.json
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Duplicate Module Name: react-native - Stack Overflow
The root cause of this issue is that there are more that one copy of react-native module in your watch folders (including the...
Read more >Duplicate module name: react-animated · Issue #2 - GitHub
When attempting to install highcharts-react-native I get the following error in terminal: npm ... Duplicate module name: react-animated #2.
Read more >iOS : Duplicate Module Name: react-native - YouTube
iOS : Duplicate Module Name : react -native [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] iOS : Duplicate Module Name : ......
Read more >metro-config | React Native Developer Tools
First, we need to add two files to the target package, babel.config.js and metro.config.js : // babel.config.js ... Duplicate module name: react-animated
Read more >Examples | Framer for Developers
Simple examples for animation, gestures, components, transforms and more.
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
@km16 Can you delete
react-native
folder from /node_modules/react-native-razorpay/node_modules and try.That doesn’t help much. Every time I add or remove a package. I would have to do that. It’s not a
do once and forget
solution.