React native – null is not an object (evaluate '_RNGestureHandlerModule.default.Direction' on Android)

Hello, I have tried to solve this problem with several solutions and nothing always gives me the same error.

I've done all the procedures that tell me there on his site so that I can create StackNavigator, and yet the error is popping up.

enter the description of the image here

Below, here are the dependencies that I use.

enter the description of the image here

One of the solutions I tried was to give downgrade dependencies, but in my case it did not help.

I've also already put the necessary codes in the Android folder.
This problem only gives when I put the react-navigation-stack
in my js road file.

import { createAppContainer, createSwitchNavigator } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';

import White from './pages/White';
import Login from './pages/Login';
import Main from './pages/Main';

const AppScreen = createStackNavigator({ Main });
const NoAuthScreen = createStackNavigator({ Login });

export default createAppContainer(
            initialRouteName: 'White',

If I take the react-navigation-stack to import from my file, the problem disappears and the application works fine, but I really need the react-navigation-stack do my application, because I want to do the auth part in the roads and I am what you tell me on this site for me to do.

Who can help, thank you very much, because I am always at the beginning of the project and already gives errors that I can not predict why. Thank you