question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR TypeError: undefined is not an object (evaluating '_reactNative.Image.propTypes.resizeMode')

See original GitHub issue

Bug

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:closed
  • Created a year ago
  • Reactions:2
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

13reactions
imshreyanshcommented, Jun 24, 2022

@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 😃

5reactions
JoshiAditi1993commented, Jul 15, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found