Created
May 24, 2022 15:13
-
-
Save heapwalker/342c1d78076468c5bfc9e66e68f2eb66 to your computer and use it in GitHub Desktop.
Run `npx react-native run-android`, start app, then these errors appear
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###### ###### | |
### #### #### ### | |
## ### ### ## | |
## #### ## | |
## #### ## | |
## ## ## ## | |
## ### ### ## | |
## ######################## ## | |
###### ### ### ###### | |
### ## ## ## ## ### | |
### ## ### #### ### ## ### | |
## #### ######## #### ## | |
## ### ########## ### ## | |
## #### ######## #### ## | |
### ## ### #### ### ## ### | |
### ## ## ## ## ### | |
###### ### ### ###### | |
## ######################## ## | |
## ### ### ## | |
## ## ## ## | |
## #### ## | |
## #### ## | |
## ### ### ## | |
### #### #### ### | |
###### ###### | |
Welcome to React Native! | |
Learn once, write anywhere | |
To reload the app press "r" | |
To open developer menu press "d" | |
[Tue May 24 2022 23:11:37.485] BUNDLE ./index.js | |
[Tue May 24 2022 23:11:43.187] ERROR Warning: Picker has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/picker' instead of 'react-native'. See https://github.com/react-native-community/react-native-picker | |
[Tue May 24 2022 23:11:43.187] WARN Require cycle: node_modules/react-native-firebase/dist/utils/apps.js -> node_modules/react-native-firebase/dist/modules/core/app.js -> node_modules/react-native-firebase/dist/utils/apps.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.187] WARN Require cycle: node_modules/react-native-firebase/dist/modules/admob/index.js -> node_modules/react-native-firebase/dist/modules/admob/Interstitial.js -> node_modules/react-native-firebase/dist/modules/admob/index.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.188] WARN Require cycle: node_modules/react-native-firebase/dist/modules/admob/index.js -> node_modules/react-native-firebase/dist/modules/admob/RewardedVideo.js -> node_modules/react-native-firebase/dist/modules/admob/index.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.188] WARN Require cycle: node_modules/react-native-firebase/dist/modules/database/Reference.js -> node_modules/react-native-firebase/dist/utils/SyncTree.js -> node_modules/react-native-firebase/dist/modules/database/Reference.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.188] WARN Require cycle: node_modules/react-native-firebase/dist/modules/core/firebase.js -> node_modules/react-native-firebase/dist/utils/apps.js -> node_modules/react-native-firebase/dist/modules/core/app.js -> node_modules/react-native-firebase/dist/modules/database/index.js -> node_modules/react-native-firebase/dist/modules/core/firebase.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.189] WARN Require cycle: node_modules/react-native-firebase/dist/modules/firestore/DocumentSnapshot.js -> node_modules/react-native-firebase/dist/modules/firestore/DocumentReference.js -> node_modules/react-native-firebase/dist/modules/firestore/DocumentSnapshot.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.189] WARN Require cycle: node_modules/react-native-firebase/dist/modules/firestore/CollectionReference.js -> node_modules/react-native-firebase/dist/modules/firestore/Query.js -> node_modules/react-native-firebase/dist/modules/firestore/QuerySnapshot.js -> node_modules/react-native-firebase/dist/modules/firestore/DocumentChange.js -> node_modules/react-native-firebase/dist/modules/firestore/DocumentSnapshot.js -> node_modules/react-native-firebase/dist/modules/firestore/DocumentReference.js -> node_modules/react-native-firebase/dist/modules/firestore/CollectionReference.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.189] WARN Require cycle: node_modules/react-native-firebase/dist/modules/firestore/DocumentReference.js -> node_modules/react-native-firebase/dist/modules/firestore/utils/serialize.js -> node_modules/react-native-firebase/dist/modules/firestore/DocumentReference.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.190] WARN Require cycle: node_modules/react-native-firebase/dist/modules/firestore/utils/serialize.js -> node_modules/react-native-firebase/dist/modules/firestore/FieldValue.js -> node_modules/react-native-firebase/dist/modules/firestore/utils/serialize.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.190] WARN Require cycle: node_modules/react-native-firebase/dist/modules/core/firebase.js -> node_modules/react-native-firebase/dist/utils/apps.js -> node_modules/react-native-firebase/dist/modules/core/app.js -> node_modules/react-native-firebase/dist/modules/functions/index.js -> node_modules/react-native-firebase/dist/modules/core/firebase.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.190] WARN Require cycle: node_modules/react-native-firebase/dist/modules/storage/index.js -> node_modules/react-native-firebase/dist/modules/storage/reference.js -> node_modules/react-native-firebase/dist/modules/storage/task.js -> node_modules/react-native-firebase/dist/modules/storage/index.js | |
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle. | |
[Tue May 24 2022 23:11:43.190] WARN console.disableYellowBox has been deprecated and will be removed in a future release. Please use LogBox.ignoreAllLogs(value) instead. | |
[Tue May 24 2022 23:11:43.191] ERROR Warning: AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/async-storage' instead of 'react-native'. See https://github.com/react-native-community/async-storage | |
[Tue May 24 2022 23:11:43.191] LOG Reactotron Configured | |
[Tue May 24 2022 23:11:43.191] LOG Running "Zapes" with {"rootTag":1} | |
[Tue May 24 2022 23:11:43.191] WARN Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false` | |
[Tue May 24 2022 23:11:43.192] GROUP .. %c action %cUPDATE_CONNECTION_STATUS %c@ 23:11:42.355 color: gray; font-weight: lighter; color: inherit; color: gray; font-weight: lighter; | |
[Tue May 24 2022 23:11:43.192] LOG .. %c prev state color: #9E9E9E; font-weight: bold {"auth": {"dataUser": null, "isAuth": null}, "bookmark": {"data": null}, "category": {"data": null}, "connection": {"connection": false}, "setting": {"homeSettings": {}, "settingsV2": {}}, "sideMenu": {"id": "news", "name": "News"}} | |
[Tue May 24 2022 23:11:43.192] LOG .. %c action color: #03A9F4; font-weight: bold {"status": true, "type": "UPDATE_CONNECTION_STATUS"} | |
[Tue May 24 2022 23:11:43.192] LOG .. %c next state color: #4CAF50; font-weight: bold {"auth": {"dataUser": null, "isAuth": null}, "bookmark": {"data": null}, "category": {"data": null}, "connection": {"connection": true}, "setting": {"homeSettings": {}, "settingsV2": {}}, "sideMenu": {"id": "news", "name": "News"}} | |
[Tue May 24 2022 23:11:43.193] LOG [CodePush] Sync already in progress. | |
[Tue May 24 2022 23:11:43.193] WARN Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false` | |
[Tue May 24 2022 23:11:43.193] GROUP .. %c action %cUPDATE_CONNECTION_STATUS %c@ 23:11:42.415 color: gray; font-weight: lighter; color: inherit; color: gray; font-weight: lighter; | |
[Tue May 24 2022 23:11:43.193] LOG .. %c prev state color: #9E9E9E; font-weight: bold {"auth": {"dataUser": null, "isAuth": null}, "bookmark": {"data": null}, "category": {"data": null}, "connection": {"connection": true}, "setting": {"homeSettings": {}, "settingsV2": {}}, "sideMenu": {"id": "news", "name": "News"}} | |
[Tue May 24 2022 23:11:43.193] LOG .. %c action color: #03A9F4; font-weight: bold {"status": true, "type": "UPDATE_CONNECTION_STATUS"} | |
[Tue May 24 2022 23:11:43.194] LOG .. %c next state color: #4CAF50; font-weight: bold {"auth": {"dataUser": null, "isAuth": null}, "bookmark": {"data": null}, "category": {"data": null}, "connection": {"connection": true}, "setting": {"homeSettings": {}, "settingsV2": {}}, "sideMenu": {"id": "news", "name": "News"}} | |
[Tue May 24 2022 23:11:43.570] LOG https://www.sportsroad.hk//wp-json/ziniapi/v1/settings | |
[Tue May 24 2022 23:11:43.602] LOG [CodePush] Checking for update. | |
[Tue May 24 2022 23:11:43.603] LOG [CodePush] Reporting binary update (2.2.5) | |
[Tue May 24 2022 23:11:43.967] LOG ============== Api.xhr.catch /ziniapi/v1/settings ============= [SyntaxError: JSON Parse error: Unrecognized token ''] | |
[Tue May 24 2022 23:11:43.968] LOG https://www.sportsroad.hk//wp-json/ziniapi/v1/home | |
[Tue May 24 2022 23:11:44.160] LOG ============== Api.xhr.catch /ziniapi/v1/home ============= [SyntaxError: JSON Parse error: Unrecognized token ''] | |
[Tue May 24 2022 23:11:44.180] LOG https://www.sportsroad.hk//wp-json/wp/v2/categories | |
[Tue May 24 2022 23:11:44.115] LOG ============== Api.xhr.catch /wp/v2/categories ============= [SyntaxError: JSON Parse error: Unrecognized token ''] | |
[Tue May 24 2022 23:11:44.128] GROUP .. %c action %cFETCH_SETTINGS_SUCCESS %c@ 23:11:43.376 color: gray; font-weight: lighter; color: inherit; color: gray; font-weight: lighter; | |
[Tue May 24 2022 23:11:44.132] LOG .. %c prev state color: #9E9E9E; font-weight: bold {"auth": {"dataUser": null, "isAuth": null}, "bookmark": {"data": null}, "category": {"data": null}, "connection": {"connection": true}, "setting": {"homeSettings": {}, "settingsV2": {}}, "sideMenu": {"id": "news", "name": "News"}} | |
[Tue May 24 2022 23:11:44.133] LOG .. %c action color: #03A9F4; font-weight: bold {"data": {"homeSettings": [SyntaxError: JSON Parse error: Unrecognized token ''], "settingsV2": [SyntaxError: JSON Parse error: Unrecognized token '']}, "type": "FETCH_SETTINGS_SUCCESS"} | |
[Tue May 24 2022 23:11:44.134] LOG .. %c next state color: #4CAF50; font-weight: bold {"auth": {"dataUser": null, "isAuth": null}, "bookmark": {"data": null}, "category": {"data": null}, "connection": {"connection": true}, "setting": {"homeSettings": [SyntaxError: JSON Parse error: Unrecognized token ''], "settingsV2": [SyntaxError: JSON Parse error: Unrecognized token '']}, "sideMenu": {"id": "news", "name": "News"}} | |
[Tue May 24 2022 23:11:44.203] ERROR TypeError: undefined is not an object (evaluating '_config.Config.settingV2.general.app_logo') | |
This error is located at: | |
in IntroScreen (created by ConnectFunction) | |
in ConnectFunction (at SceneView.tsx:121) | |
in StaticContainer | |
in StaticContainer (at SceneView.tsx:112) | |
in EnsureSingleNavigator (at SceneView.tsx:111) | |
in SceneView (at useDescriptors.tsx:147) | |
in RCTView (at View.js:34) | |
in View (at CardContainer.tsx:199) | |
in RCTView (at View.js:34) | |
in View (at CardContainer.tsx:198) | |
in RCTView (at View.js:34) | |
in View (at CardSheet.tsx:33) | |
in ForwardRef(CardSheet) (at Card.tsx:532) | |
in RCTView (at View.js:34) | |
in View (at createAnimatedComponent.js:165) | |
in AnimatedComponent (at createAnimatedComponent.js:215) | |
in ForwardRef(AnimatedComponentWrapper) (at Card.tsx:514) | |
in PanGestureHandler (at GestureHandler.native.tsx:13) | |
in PanGestureHandler (at Card.tsx:508) | |
in RCTView (at View.js:34) | |
in View (at createAnimatedComponent.js:165) | |
in AnimatedComponent (at createAnimatedComponent.js:215) | |
in ForwardRef(AnimatedComponentWrapper) (at Card.tsx:504) | |
in RCTView (at View.js:34) | |
in View (at Card.tsx:498) | |
in Card (at CardContainer.tsx:164) | |
in CardContainer (at CardStack.tsx:498) | |
in RCTView (at View.js:34) | |
in View (at Screens.tsx:70) | |
in MaybeScreen (at CardStack.tsx:491) | |
in RCTView (at View.js:34) | |
in View (at Screens.tsx:48) | |
in MaybeScreenContainer (at CardStack.tsx:389) | |
in CardStack (at StackView.tsx:433) | |
in KeyboardManager (at StackView.tsx:431) | |
in RNCSafeAreaView (at src/index.tsx:28) | |
in SafeAreaProvider (at SafeAreaProviderCompat.tsx:42) | |
in SafeAreaProviderCompat (at StackView.tsx:428) | |
in GestureHandlerRootView (at GestureHandlerRootView.android.js:31) | |
in GestureHandlerRootView (at StackView.tsx:427) | |
in StackView (at createStackNavigator.tsx:82) | |
in StackNavigator (at Root.js:102) | |
in RCTView (at View.js:34) | |
in View (at Root.js:14) | |
in Root (at connectStyle.js:392) | |
in Styled(Root) (at Root.js:101) | |
in RootMain (at RootNavigator.js:292) | |
in RCTView (at View.js:34) | |
in View (at RootNavigator.js:281) | |
in AppNavigation (created by ConnectFunction) | |
in ConnectFunction (at App.js:44) | |
in RCTView (at View.js:34) | |
in View (at App.js:43) | |
in Provider (at App.js:42) | |
in EnsureSingleNavigator (at BaseNavigationContainer.tsx:277) | |
in ForwardRef(BaseNavigationContainer) (at NavigationContainer.tsx:64) | |
in ThemeProvider (at NavigationContainer.tsx:63) | |
in ForwardRef(NavigationContainer) (at App.js:41) | |
in App (at CodePush.js:585) | |
in CodePushComponent (at renderApplication.js:45) | |
in RCTView (at View.js:34) | |
in View (at AppContainer.js:106) | |
in RCTView (at View.js:34) | |
in View (at AppContainer.js:132) | |
in AppContainer (at renderApplication.js:39) | |
[Tue May 24 2022 23:11:44.855] WARN Possible Unhandled Promise Rejection (id: 0): | |
TypeError: undefined is not an object (evaluating '_config.Config.settingV2.general.app_logo') | |
render@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:300560:79 | |
finishClassComponent@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:17619:43 | |
updateClassComponent@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:17580:50 | |
invokeGuardedCallbackImpl@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:9194:21 | |
invokeGuardedCallback@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:9288:42 | |
beginWork$1@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:22292:34 | |
performUnitOfWork@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21469:29 | |
workLoopSync@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21412:45 | |
renderRootSync@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21385:25 | |
performSyncWorkOnRoot@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21156:40 | |
performSyncWorkOnRoot@[native code] | |
http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:12445:38 | |
unstable_runWithPriority@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:46644:30 | |
flushSyncCallbackQueueImpl@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:12440:28 | |
flushSyncCallbackQueue@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:12429:35 | |
scheduleUpdateOnFiber@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:20782:37 | |
enqueueSetState@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:13949:23 | |
setState@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:5021:37 | |
_callee7$@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:249316:33 | |
tryCatch@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:24966:23 | |
invoke@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25142:32 | |
tryCatch@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:24966:23 | |
invoke@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25042:30 | |
http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25072:19 | |
tryCallTwo@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:26999:9 | |
doResolve@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27163:25 | |
Promise@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27022:14 | |
callInvokeWithMethodAndArg@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25071:33 | |
enqueue@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25076:157 | |
async@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25093:69 | |
_callee7@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:249270:42 | |
_callee6$@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:249237:38 | |
tryCatch@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:24966:23 | |
invoke@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25142:32 | |
tryCatch@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:24966:23 | |
invoke@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25042:30 | |
http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:25052:21 | |
tryCallOne@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:26990:16 | |
http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27091:27 | |
_callTimer@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30530:17 | |
_callImmediatesPass@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30569:17 | |
callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:30786:33 | |
__callImmediates@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2744:35 | |
http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2530:34 | |
__guard@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2727:15 | |
flushedQueue@http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2529:21 | |
flushedQueue@[native code] | |
invokeCallbackAndReturnFlushedQueue@[native code] | |
[Tue May 24 2022 23:11:44.876] LOG register: {"_bodyBlob": {"_data": {"__collector": [Object], "blobId": "553050d6-31fb-4739-8f43-215d412929bf", "offset": 0, "size": 68382}}, "_bodyInit": {"_data": {"__collector": [Object], "blobId": "553050d6-31fb-4739-8f43-215d412929bf", "offset": 0, "size": 68382}}, "headers": {"map": {"cache-control": "no-cache, must-revalidate, max-age=0", "cf-cache-status": "DYNAMIC", "cf-ray": "7106f72ae93a3d18-HKG", "content-type": "text/html; charset=UTF-8", "date": "Tue, 24 May 2022 15:11:44 GMT", "expect-ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"", "expires": "Wed, 11 Jan 1984 05:00:00 GMT", "link": "<https://www.sportsroad.hk/wp-json/>; rel=\"https://api.w.org/\"", "nel": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}", "pragma": "no-cache", "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6unKPurzpHQp7POHwclBmiehqRMxBcIObgg5FFN%2FOnTeQo95UO1qHNbBYJxggLn%2BE%2BZQybidAkNDZZgXtJDvZmwgEKJ4GgT0J0iUzRbAum%2F2njehHUkvf4CWBOgrfIlqt7w3\"}],\"group\":\"cf-nel\",\"max_age\":604800}", "server": "cloudflare", "set-cookie": "PHPSESSID=v5bv9shgcorep7usceirf5s64j; path=/"}}, "ok": false, "status": 404, "statusText": undefined, "type": "default", "url": "https://www.sportsroad.hk//pnfw/register"} | |
[Tue May 24 2022 23:11:45.950] LOG [CodePush] App is up to date. | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment