ERROR TypeError: undefined is not an object (evaluating '_reactNative.Image.propTypes.resizeMode')
See original GitHub issueBug
Platform
Which player are you experiencing the problem on:
- iOS
Environment info
React native info output:
ERROR TypeError: undefined is not an object (evaluating '_reactNative.Image.propTypes.resizeMode')
Library version: react-native@0.69.0-rc.6, react@18.1.0 and react-native-video@^5.2.0
Steps To Reproduce
Trying out all the latest stuff and I get the error shown above. I’m using nx & react-native without expo. The following code seems to be the culprit: https://github.com/react-native-video/react-native-video/blob/master/Video.js#L429
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:16 (2 by maintainers)
Top Results From Across the Web
React Native Video - undefined is not an object (evaluating ...
69 withing nx monorepo and when trying to add Video component like below, I get an error TypeError: undefined is not an object...
Read more >undefined is not an object (evaluating '_reactNative ... - YouTube
ERROR TypeError : undefined is not an object ( evaluating '_reactNative. Image. propTypes. resizeMode ') React Native Download Video from url and ...
Read more >typeerror: undefined is not an object (evaluating '_ ... - You.com
Image.propTypes.resizeMode') ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication).
Read more >undefined is not an object (evaluating '_react.PropTypes.array ...
Coding example for the question "TypeError: undefined is not an object (evaluating '_react.PropTypes.array')" React native on Mac.
Read more >@pushprotocol/reactnative - Developers
Package for React Native Views for React Native based mobile apps. ... Image.propTypes.resizeMode error. ERROR TypeError: undefined is not an object ...
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

@freeboub Oops my mistake !! My package.json contained version “^5.2.0”, I just upgraded the react native video to version “^6.0.0-alpha.1” and everything works absolutely fine. Thanks 😃
Hi, I tried to upgrade to react 0.69.1 and react-native-video to 6.0.0-alpha.1. I am still facing this issue. Please help