Skip to content

Unable to resolve “@react-native-community/masked-view

I am using react native expo version 37.0.3 and every time I run the app I am getting this error`

Unable to resolve "@react-native-community/masked-view" from "node_modules@react-navigationstacksrcviewsMaskedView.native.tsx"

Building JavaScript bundle: error`

I don’t have any idea why this error is coming

Here is the screenshot of error on my mobile screen


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.