Trying to use React Navigation 4 based on a tutorial released last year or so.
npm install react-navigation expo install react-native-gesture-handler react-native-reanimated react-native-screens react-native-safe-area-context @react-native-community/masked-view npm install react-navigation-stack @react-native-community/masked-view npm start
I get the error :
Opening DevTools in the browser... (press shift-d to disable) Error: React Native is not installed. Please run `npm install` in your project directory. Couldn't start project. Please fix the errors and restart the project. Error: Couldn't start project. Please fix the errors and restart the project. at startExpoServerAsync (/@email@example.com/src/Project.ts:2080:11) at Object.startAsync (/@firstname.lastname@example.org/src/Project.ts:2397:5) at action (/usr/local/lib/node_modules/expo-cli/src/commands/start.ts:163:3) at /usr/local/lib/node_modules/expo-cli/src/commands/start.ts:334:16 at Command.<anonymous> (/usr/local/lib/node_modules/expo-cli/src/exp.ts:85:7) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @ start: `expo start` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @ start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
How can I solve this ?