TypeError: (0, _reactNavigation.StackNavigator) is not a function. (In '(0, _reactNavigation.StackNavigator) code example
Example: undefined is not a function (near '...(0, _reactNative.createStackNavigator)...')
import { createStackNavigator, createAppContainer } from 'react-navigation';
import HomeScreen from './yourScreenPath';
const AppNavigator = createStackNavigator({
Home: { screen: HomeScreen }
});
export default createAppContainer(AppNavigator);