react-native-vlc-media-player icon indicating copy to clipboard operation
react-native-vlc-media-player copied to clipboard

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

Open mousumi88 opened this issue 2 years ago • 2 comments

Hi I am facing the following error after installing react-native-vlc-media-player. My react native version is "react-native": "0.69.2". App has not been started due to this error. The complete error message is :

ERROR TypeError: undefined is not an object (evaluating '_reactNative.Image.propTypes.source') ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.

This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.

If I remove the following line then issue solved: import { VLCPlayer } from 'react-native-vlc-media-player;

But I have to import VLCPlayer for playing .webm video in ios. I am working in IOS platform. Please help me to solve the issue.

mousumi88 avatar Nov 13 '22 08:11 mousumi88

I'm facing the same issue :(

Yami01 avatar Nov 21 '22 08:11 Yami01

What version of react-native-vlc-media-player do you use ?

mdilshan avatar Dec 18 '22 15:12 mdilshan