resolve react-navigation-stack dependencies code example
Example: install react native navigation stack
npm install react-navigation-stack -native-community/masked-view react-native-safe-area-context
npm install react-navigation-stack -native-community/masked-view react-native-safe-area-context