title: TypeError: undefined is not an object (evaluating'Object.keys (routeConfigs)')
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import React from 'react';
  import {createAppContainer} from 'react-navigation';
  import { createMaterialBottomTabNavigator } from '@react-navigation/material-bottom-tabs';
  import {createStackNavigator} from 'react-navigation-stack';
  import { NavigationContainer } from '@react-navigation/native';
  import Welcomepage from './Components/Rootstack/Welcomecomponent';
  import Signpage from './Components/Rootstack/Signincomponent';
  import Signuppage from './Components/Rootstack/SignupComponent';
  import Whoyouare from './Components/Rootstack/selectfacstu';
  import homescreen from './Components/Homestack/homescreen';
  import ChatTab from './Components/Homestack/chatscreen';
  import Blogpage from './Components/Rootstack/feedscreen';
  import Settings from './Components/Homestack/settings';
  import notifications from './Components/Homestack/Notification';
  import profile from './Components/Homestack/profile';
  import { Root } from "native-base";
  
  const Stack = createStackNavigator();
  
  function Rootstack() {
    return (
      &lt;NavigationContainer&gt;
        &lt;Stack.Navigator initialRouteName="welcome"&gt;
          &lt;Stack.Screen name="login" component={Signpage} /&gt;
          &lt;Stack.Screen name="signup" component={Signuppage} /&gt; 
          &lt;Stack.Screen name="welcome" component={Welcomepage} /&gt; 
          &lt;Stack.Screen name="who" component={Whoyouare} /&gt; 
          &lt;Stack.Screen name="home" component={Homestack} /&gt; 
        &lt;/Stack.Navigator&gt;
      &lt;/NavigationContainer&gt;
    );
  }
  
  const Tab = createMaterialBottomTabNavigator();
  
  function Homestack(){
    return(
      &lt;Tab.Navigator
      initialRouteName="Home"
      activeColor="yellow"
      barStyle={{ backgroundColor: '#0E043B' }}
      &gt;
      &lt;Tab.Screen
        name="Home"
        component={homescreen}
        options={{
          tabBarLabel: 'Home',
          tabBarIcon: ({ color }) =&gt; (
            &lt;MaterialCommunityIcons name="pentagon-outline" color={color} size={26} /&gt;
          ),
        }}
      /&gt;
      &lt;Tab.Screen
        name="Feed"
        component={Blogpage}
        options={{
          tabBarLabel: 'Feed',
          tabBarIcon: ({ color }) =&gt; (
            &lt;MaterialCommunityIcons name="menu" color={color} size={26} /&gt;
          ),
        }}
      /&gt;
                         &lt;Tab.Screen
        name="write"
        component={notifications}
        options={{
          tabBarLabel: 'bell',
          tabBarIcon: ({ color }) =&gt; (
            &lt;FontAwesome5 name="bell" color={color} size={26} /&gt;
          ),
        }}
      /&gt;
                         &lt;Tab.Screen
        name="chat"
        component={ChatTab}
        options={{
          tabBarLabel: 'chat',
          tabBarIcon: ({ color }) =&gt; (
            &lt;MaterialIcons name="chat" color={color} size={26} /&gt;
          ),
        }}
      /&gt;
     &lt;Tab.Screen
        name="profile"
        component={profile}
        options={{
          tabBarLabel: 'Profile',
          tabBarIcon: ({ color }) =&gt; (
            &lt;MaterialCommunityIcons name="account" color={color} size={26} /&gt;
          ),
        }}
      /&gt;
               &lt;Tab.Screen
        name="settings"
        component={Settings}
        options={{
          tabBarLabel: 'settings',
          tabBarIcon: ({ color }) =&gt; (
            &lt;MaterialCommunityIcons name="settings" color={color} size={26} /&gt;
          ),
        }}
      /&gt;
  
  
    &lt;/Tab.Navigator&gt;
    );
  }
  
  export default class App extends Component {
    render() {
      return (
        &lt;Root&gt;
          &lt;Rootstack /&gt;
        &lt;/Root&gt;
      );
    }
  }
  
  
  //below code is about installed dependency version</code></pre>
  </div>
  </div>
  </p>
  <p>Getting this error, there's no error in console/terminal, but when I run this in expo (Android) it denies with the error, I have referred to react navigation site docs section also, and I have checked with all possible answers, and I'm not able to fix this issue, and the same type of example was efficient and successfully implemented by a developer friend of mine, and I removed that tab navigator section and checked with least example and also I got the same error.</p>
  <p>How can I fix this issue?</p>