I am running React Native project using npx react-native run-ios in terminal but its showing the following error:
Make sure you're running a packager server or have
included a .jsbundle file in your application bundle.
RCTFatal
28—[RCTCxxBridge handleError:]_block_invok e
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
_CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_Q UEUE
_CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
—[UlApplication _run]
UIApplicationMain
main
start
Solutions I have already tried
- Changing port
- Downgrading node module
- Downgrading both React Native and project
- Upgrading Firebase to the latest version and reinstalling it
- Killing port if there is any script running
I have tried almost everything online and am looking for a solution.