barmej / react-native-youtube-player

A Cross-platform Youtube Player component for React Native Built using the official YouTube IFrame Player API.
128 stars 49 forks source link

Tried to register two views with the same name RNCWebView #15

Closed stefanosandes closed 1 year ago

stefanosandes commented 4 years ago

I have react-native-webview as a dependency of my app, and I'm getting this error after install react-native-youtube-player. I think it is because my version of RNCWebView is different than your.

sadez commented 4 years ago

I think it must be updated to the latest webview (version 7.0.1 )version to also Remove UIWebView

sheshnathiicmr commented 4 years ago

@sadez +1

fabripeco commented 4 years ago

Same issue for me. The latest version of react-native-webview is 8.0.3. Maybe you can consider to move it as a peer dependencies in the same way as https://github.com/archriss/react-native-render-html did. Thank you!

ivankdev commented 4 years ago

Same issue but with slider Tried to register two views with the same name RNCSlider, the same version is not working also.

matthewadel commented 4 years ago

navigate to nodeModules in react-native-yt-player, then delete folder named react-native-webrtc that worked for me

ivankdev commented 4 years ago

navigate to nodeModules in react-native-yt-player, then delete folder named react-native-webrtc that worked for me

@matthewadel and what if you try reinstall modules rm -rf node_modules && npm i? I suppose you’ll get the same issue again, it’s not a solution