Home

Published

- 1 min read

Error: Unable to resolve module `react-native-screens` from `node_modules/@react-navigation/bottom-tabs/src/views/BottomTabView.tsx`: react-native-screens could not be found within the project.

img of Error: Unable to resolve module `react-native-screens` from `node_modules/@react-navigation/bottom-tabs/src/views/BottomTabView.tsx`: react-native-screens could not be found within the project.

The solution for this is noted below

Error: Unable to resolve module react-native-screens from node_modules/@react-navigation/bottom-tabs/src/views/BottomTabView.tsx: react-native-screens could not be found within the project.

Solution

   # If you are using react-navigation in your bare react-native project do not forget to also install the following required dependencies:
npm install react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view

# Yarn
yarn add react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view

Try other methods by searching on the site. That is if this doesn’t work