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-navigation\stack\src\views\MaskedView.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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With