react-native undefined不是对象(评估RCCManager.setRootController)

基桑

我正在尝试使用redux和redux-saga搭配创建一个简单的react-native应用程序。不幸的是,当我尝试运行该应用程序(无论是使用react-native run-iosXcode还是通过Xcode运行)时,出现以下错误:

错误消息:未定义不是一个对象(评估'RCCManager.setRootController')

奇怪的是,当我将redux-saga的Counter示例之类的内容移植到react-native或其他示例时,我没有这个问题。我想知道是否有人可以帮助指出问题所在?

基桑

所以事实证明,我只需要将更多的库链接在一起。

重新安装这些组件有助于:

npm install --save react-nativenpm install --save react-native-controllers

然后rnpm link解决问题

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

React native, undefined 不是对象(评估....)

React Native Undefined 不是对象(评估“this.state.input”)

React Native TypeError:undefined 不是对象(评估“props.getItem”)

undefined不是对象(评估“ allRowsIDs.length”)(React-Native)

在react-native中评估道具时,undefined不是对象

React-Native:undefined 不是对象(评估 'Sn[e]')

React-Native:undefined不是对象(评估'this.props = props')

React Native:undefined 不是对象(评估“props.navigation.navigate”)

React native Undefined不是对象(评估'_react3.default.PropType.shape')

React native Undefined 不是对象(评估'_react3.default.PropType.shape')?

React Native:'undefined 不是一个对象(评估'_react3.PropTypes.bool')

React Native:undefined 不是一个对象(评估'_this2.props.navigation.navigate')

React Native:TypeError:undefined不是一个对象(评估'_this.props.data.map')

react-native: undefined 不是带有反应导航的对象(评估“_this2.props.navigation”)

React Native:未处理的Promise拒绝:TypeError:undefined不是对象(评估'response.json')

TypeError:undefined不是一个对象(正在评估“ navigation.push”)React Native

TypeError:undefined不是React Native中的一个对象(评估'this.state.Gas')

TypeError:undefined不是React Native中的一个对象(评估'this.state.Gase')

TypeError:undefined不是在react-native-google-places-autocomplete中的对象(评估“ navigator.geolocation.getCurrentPosition”)

如何解决TypeError:undefined不是React-Native中的对象(评估'_core.pathUtils.urlToPathAndParams')

undefined不是对象(评估'_this2.props.navigation.navigate')-React Native

React Native:TypeError:undefined不是一个对象(评估'this.props.navigation.navigate')

React Native undefined不是一个对象(评估“ Mapbox.GL.UserTrackingModes”)

React Native TypeError:undefined 不是一个对象(评估'_ref.item')

undefined 不是一个对象(评估 'Context._context') - React Native

React-native:undefined不是对象(评估'_this3.props.navigation.navigate')

React Native undefined不是一个对象(评估“ props.navigation.toggleDrawer”)

Undefined 不是一个评估 title.length React Native 的对象

TypeError:undefined 不是 React Native 中的对象(正在评估“addTodo(title, description).then”)