Skip to content
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

[BUG] Tried to register two views with the same name #55

Closed
juandoplt opened this issue Jul 25, 2020 · 4 comments
Closed

[BUG] Tried to register two views with the same name #55

juandoplt opened this issue Jul 25, 2020 · 4 comments

Comments

@juandoplt
Copy link

I run into this bug, Tried to register two views with the same name GestureHandlerRootView. Run crazy about it because nothing seemed to get rid of it.

Until i found in some forums that maybe there was two instances of 'react-native-gesture-handler'.

I ran find . -name react-native-gesture-handler, and i saw this.

./node_modules/react-native-admob-native-ads/node_modules/react-native-gesture-handler
./node_modules/react-native-gesture-handler

Screenshot_1595674358

Since i'm using react-native-gesture-handler already it crashes with the one that you have. I deleted it and everything was back to normal, perhaps there's a more elegant solution ?

OS: iOS & Android
Release: Last one

@Arwantys
Copy link
Contributor

Hi, I removed the node module react-native-gesture-handler installed in react-native-admob-native-ads and everything worked again.

@deepslam
Copy link

I have the same

@ammarahm-ed
Copy link
Owner

The error comes when you have two different versions of react-native-gesture-handler and one of them is already installed, clearing the node_modules folder fixes this, I will see if we can not add it to the dependancies

@ammarahm-ed
Copy link
Owner

This has been fixed. Try the latest release, v0.3.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants