React-native: [fatal][tid:main] Unable to execute JS call: __fbBatchedBridge is undefined

Created on 19 Jun 2016  路  9Comments  路  Source: facebook/react-native

It was working less than 2 weeks ago but now it's show " Unable to execute JS call: __fbBatchedBridge is undefined"

Locked

Most helpful comment

@hotarzhang Can you post the solution, please?

All 9 comments

@hotarzhang Most likely an issue with trying to connect to the packager with Android.
If your trying to run on it on a device, make sure you run adb reverse tcp:8081 tcp:8081

@christopherdro Thanks for getting back so quickly. But it's running with mac.setp is:

open MyReactNative.xcodeproj in Xcode
Product -> Run

and then the same error happens when clicking Run.

@hotarzhang Are you trying to build with the simulator or an actual device?

@christopherdro Yes, trying to build with the simulator.

Thanks, It's solved.

@hotarzhang Can you post the solution, please?

@hotarzhang Can you post the solution, please?

Switching iOS devices in the simulator was the fix for me. Or Simulator > Reset Content and Settings...

@jDeppen kind of a workaround, but resetting the simulator fixes it for me as well

Was this page helpful?
0 / 5 - 0 ratings