npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
If you're on a Mac and developing for iOS, you need to install the pods to complete the linking.
npx pod-install ios
Then close metro and start project again