Unable to resolve "@react-native-community/masked-view
The @react-native-community/masked-view is a dependency you need to install to work with the the navigation stack.
Try doing:
expo install @react-native-community/masked-view
You haven't followed the installation instructions for React Navigation.
Since you're using Expo, you should run
expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view
, as per the getting started docs.