0

I am facing issue in react native when I started learning navigation it I applied and error came

the error image is here

import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { View, Button ,Text } from 'react-native';
import Home from './src/home';
import ProfileScreen from './src/Profile';
const Stack = createNativeStackNavigator();
const App = () => {
    return (<
        NavigationContainer>
        <Stack.Navigator>
            <Stack.Screen name="Home"component={Home}  options={{ title: 'Welcome' }} /> 
                     </Stack.Navigator>
             </NavigationContainer>
             );   
};
export default App;
Drew Reese
  • 165,259
  • 14
  • 153
  • 181
Anil
  • 13
  • 3
  • Possible duplicate. https://stackoverflow.com/questions/69043806/requirenativecomponent-rnsscreenstackheaderconfig-was-not-found-in-the-uimana – Akshay Shenoy Nov 17 '21 at 09:05
  • Does this answer your question? [requireNativeComponent: "RNSScreenStackHeaderConfig" was not found in the UIManager when running android app](https://stackoverflow.com/questions/69043806/requirenativecomponent-rnsscreenstackheaderconfig-was-not-found-in-the-uimana) – bitski Nov 17 '21 at 14:43

1 Answers1

0

run this command

 npm pod-install
ND verma
  • 171
  • 1
  • 9