-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to execute JS call: __fbBatchedBridge is undefined #6282
Comments
Hey, So, none of the already proposed solutions in the closed issues works for you yet? :( Leaving the search link for reference: https://github.com/facebook/react-native/issues?utf8=%E2%9C%93&q=__fbBatchedBridge |
Hey, Thanks for getting back so quickly. Yeah, tried a handful yesterday and a few today – but it's hard to do a complete enumeration... However, irrespectively of whether there is a fix in one of those Issues, this is likely close to a step-by-step copy&paste instructions that new users will follow, since this is the vanilla AwesomeProject. Here is what i tried:
Again, thanks for getting back so fast and providing this support. |
Hey, Can you try commenting out the following lines https://github.com/facebook/react-native/blob/master/packager/react-native-xcode.sh#L15-L18 . It was mentioned here and worked for me |
That fixed for me, thanks @shahchirag and @grabbou in Replace
with
|
Out of curiosity, and largely as a digression to this issue, is this a bug? Or is it due to xcode/simulator? Additionally, i'm guessing not everybody is dependent on the xcode-heavy workflow that i go through, but how else does one upload the Archived version of the code to testflight and alike? |
👍 This solution also worked for me. I just started a new project on React-Native 0.21.0 |
I know this sort of feels like a hack, but currently that's the only way to fix it. I believe this would be fixed in the coming days. |
The hack works, but any updates on this from the React team? |
Worked here too RN0.22 |
Same code need to comment in
|
The uncomment solution works! |
@longsangstan The code is for speeding up build times as stated
, so commenting it should just affect build-times, no other side-effects supposedly. |
Should this still be occurring for 0.39.2? |
Just ran into this issue today as well, any ideas? |
@tonydiepenbrock, same here! |
Occurring on 0.40.0 |
I am getting this issue no 0.41 as well! Commenting out fix doesn't work.. Any ideas? |
Getting error on |
Occurring on 0.41.0 |
I was having this problem on 0.42.0 when launching from vscode. I somehow got it fixed by quitting the simulator, and first running |
Running |
I have the same problem on 0.42.0, commenting didn't help me, and when I tried "react-native-git-upgrade" , it just says "command not found". Any ideas how to fix it? |
@Luckygirlllll did you run |
@MattyK14 Just have tried it, so I done |
I'm on the latest version 0.43 and still getting this issue? :( |
I was getting this in 0.44, had to import |
0.46 keep constantly getting this error. |
Getting the exact same in |
same here, 0.45 with expo sdk 18 |
same here |
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. |
I'm getting it in production on iOS. Any news? |
Not getting this error anymore. Maybe because:
|
Hi guys,
I believe a similar sounding bug has already made it here some time ago (just searching the issue tracker).
The message in the Xcode console is
Steps to reproduce (using "react-native": "^0.21.0")
react-native init AwesomeProject
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
I'm just trying to follow the docs from here https://facebook.github.io/react-native/docs/running-on-device-ios.html#using-offline-bundle maybe I'm misunderstanding something.
I also tried generate the main.jsbundle file with
react-native bundle --entry-file ./index.ios.js --platform ios --bundle-output ios/main.jsbundle
but the same error happens when clicking RunThanks for all your work on React native, it's really fantastic!
The text was updated successfully, but these errors were encountered: