React-Native TypeError:undefined不是iOS模拟器中的对象(计算';"React-Native.Animated.Text.propTypes.style';")
这是我在这里仅使用Animated.text的代码。它正在工作,但当我安装react native render html库之后,出现了此错误。但是,我已经卸载了该库,但仍然出现此错误React-Native TypeError:undefined不是iOS模拟器中的对象(计算';"React-Native.Animated.Text.propTypes.style';"),react-native,animation,text,typeerror,React Native,Animation,Text,Typeerror,这是我在这里仅使用Animated.text的代码。它正在工作,但当我安装react native render html库之后,出现了此错误。但是,我已经卸载了该库,但仍然出现此错误 返回( {props.navigationState.routes.map((路线,i)=>{ const color=Animated.color( A.轮( 动画。插值(道具位置{ 输入范围, outputRange:inputRange.map(inputIndex=> inputIndex==i?255:
返回(
{props.navigationState.routes.map((路线,i)=>{
const color=Animated.color(
A.轮(
动画。插值(道具位置{
输入范围,
outputRange:inputRange.map(inputIndex=>
inputIndex==i?255:0
),
})
),
0,
0
);
返回(
this.setState({index:i})}>
有关此问题的问题已在github上打开
要解决这个问题:
在节点_模块中查找“Animated.Text.propTypes.style”,并将其删除
(它存在于节点模块上的不同文件中)能否显示该错误的堆栈跟踪?请单击错误图像以查看错误的堆栈跟踪