首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >TypeError:未定义不是对象(计算'_reactNative.Image.propTypes.resizeMode')

TypeError:未定义不是对象(计算'_reactNative.Image.propTypes.resizeMode')
EN

Stack Overflow用户
提问于 2022-08-30 08:17:54
回答 1查看 116关注 0票数 1

我想使用react本机-视频,react本机-视频控件。

但我有个错误

代码语言:javascript
运行
复制
 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.
代码语言:javascript
运行
复制
"react": "18.0.0",
"react-native": "0.69.2",
"react-native-video": "^5.2.0",
"react-native-video-controls": "^2.8.1",

有人解决了这些问题吗?

EN

回答 1

Stack Overflow用户

发布于 2022-08-30 10:07:31

将the本机视频升级到版本"^6.0.0-alpha.1" (Github发行链接)

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73539211

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档