Gathole
Gathole

Reputation: 932

can't find variable __fbbatchedbridge (<unknown file>: 1)

I am working on React Native Android and While opening the app getting below error

ERROR: can't find variable __fbbatchedbridge (<unknown file>: 1)

My server is running and In developer settings IP & PORT are also correct

Any help would be appreciated.

Upvotes: 4

Views: 885

Answers (2)

Gathole
Gathole

Reputation: 932

This error comes in development env. This happens when it can't load the JS bundle. There can be n number of reasons for not loading JS bundles.

  1. React server is not running so try "react-native start"
  2. Check if server ip and port is correct on the Device
  3. Restart your modem sometimes it helps

Upvotes: 0

sekogs
sekogs

Reputation: 292

For windows, You should run react-native start after react-native run-android command.

Upvotes: 1

Related Questions