-
Notifications
You must be signed in to change notification settings - Fork 107
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
After installation got the below error.can anyone help? #117
Comments
@rajkishoreandia please update to the latest version of our package and try again. |
got the same error:This warning is caused by a @providesModule declaration with the same name across two different files. |
@rajkishoreandia its a derived data issue , delete node modules and install it again and make sure your installing the latest version of react - native - razorpay. |
after removing and reinstalling also i got the same error the issue is actually i have react-native package inside my node module and one more react-native-node module is inside react-native-razorpay node modules.so its giving duplication error ErrorAmbiguous module resolution from
|
@rajkishoreandia this is a react-native issue , it is not related to razorpay , but yes you should blacklist files to make it work.Please check on other forums for an appropriate solution. |
@rajkishoreandia Me too facing this exact issue. Did you resolve this? |
closing due to inactivity. |
@iThink32 this issue still exists by removing react-native-razorpay if I run my application it works fine. |
@santhosh77h i'm not sure what issue is it that you are facing can you elaborate? |
@santhosh77h please reopen issues before commenting. |
@iThink32 react-native-razorpay has a dependency on react-native but I have read somewhere that is not good practice because of that we were getting this https://github.com/facebook/react-native/issues/15789 |
@santhosh77h react-native is a very important module without adding which i don't think our component or any component will work. As you have read it elsewhere please share the link here so that even I can learn a better approach of using dependencies. |
@iThink32 I think |
@santhosh77h ok so specifying devDependancy does not add react-native to the directory containing the package installed which intern resolves the "ambiguous issue" is what your saying right? ive also read this link ok thanks will try this out. |
yes, you are correct..... |
@santhosh77h thanks for the heads up and im assuming that your issue has been fixed.Closing this issue reopen if issue persists. |
Loading dependency graph...jest-haste-map: @providesModule naming collision:
Duplicate module name: Sample
Paths: /Users/uniquecreations/Desktop/latest-app/donate-us-pay/node_modules/react-native-razorpay/node_modules/react-native/Libraries/Sample/package.json collides with /Users/uniquecreations/Desktop/latest-app/donate-us-pay/node_modules/react-native/Libraries/Sample/package.json
This warning is caused by a @providesModule declaration with the same name across two different files.
jest-haste-map: @providesModule naming collision:
The text was updated successfully, but these errors were encountered: