question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fbbatchedbridge is undefined

See original GitHub issue

I am working with Expo XDE (2.19.2) and Xcode 8.3.3

  • I created a new Project with Expo (the one with the NavBar, Development Mode on)
  • Then I send that one to the iOs simulator. Works perfectly.
  • I edited the code produced an error on purpose (i.e. delete a {)
  • I get a proper error message in the Simulator
  • I remove the error and save -> the App reloads and all good.
  • I then open in the simulator “Remote JS Debugging”
  • Chrome opens
  • I then produce the same error
  • I get an error message in the simulator, but not in the Chrome console.
  • I remove the error, save and then I get the error fbbatchedbridge is undefined

That error does not got away. Even when I restart the project, I still get that error. I have to newly create a project to get rid of the error…

I tried commenting out the lines (as suggested here: https://github.com/facebook/react-native/issues/6282

But that does not do the trick. Still getting the error. Whats going wrong?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
thewilliamchancommented, Jul 22, 2017

screen shot 2017-07-22 at 11 46 19 am Same here. Every time when I do Remote JS Debugging, I get this error on my iOS simulator. If I do not do Debugging, it is fine.

3reactions
Oleg24commented, Jul 22, 2017

I get this same bug as well, it’s pretty dang annoying. The only thing that’s helped is resetting the simulator and re-installing expo onto the simulator. I hope there’s a fix soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native - Unable to execute JS call: __fbBatchedBridge ...
This answer (Unable to execute JS call: __fbBatchedBridge is undefined) suggests checking it's fetching the code over the wire.
Read more >
Unable to execute JS call: __fbBatchedBridge is undefined
Can't find variable: __fbBatchedBridge (line 1 in the generated bundle) #4881 running react-native run-ios with AppDelegate.m modified and Xcode ...
Read more >
fbBatchedBridge is undefined : r/reactnative - Reddit
fbBatchedBridge is undefined. I've been able to get a very simple app (it's basically one view to show a login screen just so...
Read more >
Xcode – React Native – Unable to execute JS call - iTecNote
This answer (Unable to execute JS call: __fbBatchedBridge is undefined) suggests checking it's fetching the code over the wire. It is so that...
Read more >
Troubleshooting · BeoUI
Unable to execute JS call: __fbBatchedBridge is undefined on iOS. Please change the Build Phases setting to "Release" instead of "Debug" for both...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found