Error with React-Native?


I have installed all the dependcies but I still get this below: Using Expo-CLI
did all the

Failed building JavaScript bundle.

Unable to resolve module @react-navigation/native from /home/jonteyh/React_Native/projects/MealsToGo/App.js: @react-navigation/native could not be found within the project or in these directories:


If you are sure the module exists, try these steps:

 1. Clear watchman watches: watchman watch-del-all

 2. Delete node_modules and run yarn install

 3. Reset Metro's cache: yarn start --reset-cache

 4. Remove the cache: rm -rf /tmp/metro-*

  3 | import { ThemeProvider } from "styled-components/native";

  4 | import { theme } from "./src/infrastructure/theme";

> 5 | import { NavigationContainer } from "@react-navigation/native";

    |                                      ^

  6 | //import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";

  7 |

  8 | import {

› Stopped server

I have tried to remove .expo, node_modules but is still get this errors?

How can I solve this?

And I have tried with the steps above?

you don’t have @react-navigation/native in your project.

1 Like