小编You*_*yed的帖子

违反不变性:ViewPropTypes 已从 React Native 中删除。迁移到从“deprecated-react-native-prop-types”导出的 ViewPropTypes

由于 ViewPropTypes 已从“react-native”中删除,并且使用它的包没有更新。构建应用程序后出现此错误

ERROR  Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'.   
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 …
Run Code Online (Sandbox Code Playgroud)

react-native

49
推荐指数
4
解决办法
7万
查看次数

标签 统计

react-native ×1