Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

react-native undefined is not an object (evaluating RCCManager.setRootController)

I'm trying to make a simple react-native app with redux and redux-saga tie-ins. Unfortunately, when I try to run the app (whether using react-native run-ios or running through Xcode, I get the following error:

error message: undefined is not an object (evaluating 'RCCManager.setRootController')

Strangely enough, when I ported things like the Counter example for redux-saga to react-native or other examples I don't have this issue. I'm wondering if someone could help point to where things could be going wrong?

like image 870
baisang Avatar asked Jun 13 '16 19:06

baisang


1 Answers

So turns out I just needed to link some more libraries together.

Reinstalling these components helped:

npm install --save react-native and npm install --save react-native-controllers

followed by rnpm link fixed the issue

like image 123
baisang Avatar answered Oct 11 '22 23:10

baisang