我正在运行一个android应用程序,它是使用react native expo创建的.

TypeError: this.InnerNativeModule.configureProps is not a function. (In 'this.InnerNativeModule.configureProps(uiProps, nativeProps)', 'this.InnerNativeModule.configureProps' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0

enter image description here

这个错误的可能原因和可能的解决方案是什么?

推荐答案

问题是这个库有不同的版本.

你应该有这样的东西: "react-native-reanimated": "2.3.1",

React-native相关问答推荐

使用NextJS映射从数组中提取用户角色

Appcenter构建失败错误号::EEXIST -文件存在于syserr_fail2_in

条件呈现Else语句不会将样式应用于我的组件

用图像 react native 动画进度条

React Native - 如何在从另一个屏幕导航后将 ScrollView 滚动到给定位置

React Native - 动画宽度缩小

使用 React Native 正确处理注销

React Native:在ScrollView中更改焦点时键盘关闭

React Native TextInput 没有获得焦点

React Native 转换与枢轴点

React Native:约束 Animated.Value

我如何知道我的代码是否作为 React Native 运行

使用 AsyncStorage 如何以及在何处保存整个 redux 存储

如何为 Picker 提供默认的Please select...选项?

设置 rootView.appProperties 不会重新渲染根组件

React native base headers for ios not found

React Native - 为什么执行这个函数?

React-Native ios App 在没有报告的情况下崩溃

开始滚动时使 TouchableOpacity 不突出显示元素

React Native:如何动态更改