2023-05-16

React Native Expo CommandError

React Native Expo CommandError when running npm start

CommandError: "react-native-web" is added as a dependency in your project's package.json but it doesn't seem to be installed. Please run "yarn" or "npm install" to fix this issue.

Fix

rm -rf node_modules
 
sudo npm i
 
npm start