Error: Unable to resolve module `react-native-gesture-handler` from `node_modules/@react-navigation/stack/src/views/TouchableItem.ios.tsx`: react-native-gesture-handler could not be found within the project. code example

Example: error: Error: Unable to resolve module `react-native-gesture-handler` from `node_modules\@react-navigation\native\lib\module\Scrollables.js`: react-native-gesture-handler could not be found within the project.

yarn add react-native-gesture-handler

react-native link react-native-gesture-handler