TypeError:未定义不是一个对象(评估'_reactNative.Image.propTypes.resizeMode')
2022-08-30
598
我想使用 react-native-video、react-native-video-controls
但是我收到错误
ERROR TypeError: undefined is not an object (evaluating '_reactNative.Image.propTypes.resizeMode')
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.
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.
"react": "18.0.0",
"react-native": "0.69.2",
"react-native-video": "^5.2.0",
"react-native-video-controls": "^2.8.1",
有人解决过这些问题吗
1个回答
将 React Native 视频升级至版本 “^6.0.0-alpha.1” ( Github Issue 链接 )
Mehran Khan
2022-08-30