
Cannot connect to Metro.
Try the following to fix the issue:
- Ensure that Metro is running and available on the same network
- Ensure that your device/emulator is connected to your machine and has USB debugging enabled - run 'adb devices' to see a list of connected devices
- If you're on a physical device connected to the same machine, run 'adb reverse tcp:8081 tcp:8081' to forward requests from your device
- If your device is on the same Wi-Fi network, set 'Debug server host & port for device' in 'Dev settings' to your machine's IP address and the port of the
local dev server - e.g. 10.0.1.1:8081
URL: 192.168.25.32:19000
Error: Connection reset
at http://192.168.25.32:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:35890:18 in setHMRUnavailableReason
at http://192.168.25.32:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:35824:31 in <unknown>
at http://192.168.25.32:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:33513:30 in dispatchEvent
at http://192.168.25.32:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:34608:30 in <unknown>
at http://192.168.25.32:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:24031:35 in __callFunctionat http://192.168.25.32:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:23759:30 in <unknown>
at http://192.168.25.32:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:23758:20 in callFunctionReturnFlushedQueue
Started Metro Bundler
Android Bundling complete 2133ms
Android Running app on SM-G610S
[2022-09-05T08:36:14.741Z] @firebase/database:, FIREBASE FATAL ERROR: Database URL must point to the root of a Firebase Database (not including a child path).
at node_modules\expo\build\environment\react-native-logs.fx.js:null in error
at node_modules\@firebase\logger\dist\index.cjs.js:null in defaultLogHandler
at node_modules\@firebase\logger\dist\index.cjs.js:null in Logger.prototype.error
at node_modules\@firebase\database\dist\index.esm2017.js:null in fatal
at node_modules\@firebase\database\dist\index.esm2017.js:null in repoManagerDatabaseFromApp
at node_modules\@firebase\database\dist\index.esm2017.js:null in Component$argument_1
at node_modules\@firebase\component\dist\esm\index.esm2017.js:null in Provider#getOrInitializeService
at node_modules\@firebase\component\dist\esm\index.esm2017.js:null in Provider#getImmediate
at node_modules\@firebase\database-compat\dist\index.esm2017.js:null in Component$argument_1
at node_modules\@firebase\component\dist\esm\index.esm2017.js:null in Provider#getOrInitializeService
at node_modules\@firebase\component\dist\esm\index.esm2017.js:null in Provider#getImmediate
at node_modules\@firebase\app-compat\dist\esm\index.esm2017.js:null in FirebaseAppImpl#_getService
at node_modules\@firebase\app-compat\dist\esm\index.esm2017.js:null in firebaseAppImpl.prototype.componentNameWithoutCompat
at node_modules\@firebase\app-compat\dist\esm\index.esm2017.js:null in serviceNamespace
at firebaseConfig.js:null in <global>
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at pages\MainPage.js:null in <global>
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at navigation\StackNavigator.js:null in <global>
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at App.js:null in <global>
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at node_modules\expo\AppEntry.js:null in <global>
at node_modules\metro-runtime\src\polyfills\require.js:null in loadModuleImplementation
at node_modules\metro-runtime\src\polyfills\require.js:null in guardedLoadModule
at http://192.168.25.32:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in global code
Error: FIREBASE FATAL ERROR: Database URL must point to the root of a Firebase Database (not including a child path).
at node_modules\expo\build\environment\react-native-logs.fx.js:null in error
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in reportException
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in handleException
at node_modules\react-native\Libraries\Core\setUpErrorHandling.js:null in handleError
at node_modules\expo\build\errors\ExpoErrorManager.js:null in errorHandler
at node_modules\expo\build\errors\ExpoErrorManager.js:null in <anonymous>
at node_modules\@react-native\polyfills\error-guard.js:null in ErrorUtils.reportFatalError
at node_modules\metro-runtime\src\polyfills\require.js:null in guardedLoadModule
at http://192.168.25.32:19000/node_modules%5Cexpo%5CAppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:null in global code
Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent`
wasn't called.
at node_modules\expo\build\environment\react-native-logs.fx.js:null in error
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in reportException
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in handleException
at node_modules\react-native\Libraries\Core\setUpErrorHandling.js:null in handleError
at node_modules\expo\build\errors\ExpoErrorManager.js:null in errorHandler
at node_modules\expo\build\errors\ExpoErrorManager.js:null in <anonymous>
at node_modules\@react-native\polyfills\error-guard.js:null in ErrorUtils.reportFatalError
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in __guard
at node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:null in callFunctionReturnFlushedQueue
