Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error opening web version react native in VS

I write in terminal npm start and after that I choose to run in web version. And i get this error I tried to fix this problem like that "npm install react-native-web" But it didn't work

  • It looks like you're trying to use web support but don't have the required dependencies installed.

  • Please install react-native-web@~0.18.7, [email protected], @expo/webpack-config@^0.17.0 by running:

  • npx expo install react-native-web@~0.18.7 [email protected] @expo/webpack-config@^0.17.0

  • If you're not using web, please ensure you remove the "web" string from the platforms array in the project Expo config.

like image 663
French Avatar asked Sep 17 '25 10:09

French


1 Answers

try this command: expo start --web

like image 136
Kevin Wifred Mejía Torres Avatar answered Sep 20 '25 01:09

Kevin Wifred Mejía Torres