-
Notifications
You must be signed in to change notification settings - Fork 472
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
Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'. #539
Comments
+1 getting same error |
Facing same issue "dependencies": { |
I faced the same issue and did the following to solve it : 1- remove react-native-youtube 2- install react-native-youtube version 2.0.0 3- from your root project go to the lib folder 4- install deprecated-react-native-prop-types 5- for files "YouTube.android.js" and "YouTube.ios.js" Hope is helpful |
The above is not a permanent solution enough to get it work |
@AbdelrhmanFathy thank you very much |
use react-native 0.68 version 🙄 |
Use the patch-package. It allows you to modify files in any library and memorize this changes, so that every time you run I hope this will be fixed in the |
"react-native": "0.69.1",
"react-native-youtube": "^2.0.2",
The text was updated successfully, but these errors were encountered: