Skip to content

Instantly share code, notes, and snippets.

View callyb's full-sized avatar

Carole Nissen callyb

View GitHub Profile
@callyb
callyb / gist:73084f43403b690d661be74a6a58186c
Created August 3, 2018 13:28
error output - react native TypeError: Cannot read property 'navigation' of undefined Ask Question
YellowBox.js:80 Possible Unhandled Promise Rejection (id: 0):
TypeError: Cannot read property 'navigation' of undefined
TypeError: Cannot read property 'navigation' of undefined
at blob:http://192.168.0.14:19001/699224b2-09cd-44a8-8fed-41fe3dadf3f8:186398:40
at tryCallOne (blob:http://192.168.0.14:19001/699224b2-09cd-44a8-8fed-41fe3dadf3f8:3818:14)
at blob:http://192.168.0.14:19001/699224b2-09cd-44a8-8fed-41fe3dadf3f8:3919:17
at blob:http://192.168.0.14:19001/699224b2-09cd-44a8-8fed-41fe3dadf3f8:3202:21
at _callTimer (blob:http://192.168.0.14:19001/699224b2-09cd-44a8-8fed-41fe3dadf3f8:3091:9)
at _callImmediatesPass (blob:http://192.168.0.14:19001/699224b2-09cd-44a8-8fed-41fe3dadf3f8:3127:9)
at Object.callImmediates (blob:http://192.168.0.14:19001/699224b2-09cd-44a8-8fed-41fe3dadf3f8:3346:14)
@callyb
callyb / App.js
Last active October 18, 2019 13:23
Custom Font error
import React from 'react';
import { Platform, StatusBar, StyleSheet, View } from 'react-native';
import { AppLoading } from 'expo';
import { Asset } from 'expo-asset';
import * as Font from 'expo-font'
import RootNavigation from './navigation/RootNavigation';
import { YellowBox } from 'react-native';
import logger from 'redux-logger';
import { createStore, applyMiddleware } from 'redux';
import { Provider } from 'react-redux'