Islam A.kohil
Islam A.kohil

Reputation: 83

Metro-Bundler doesn't automatically open

I'm new to react native and just started with the installations and set up; when I reach to the expo start or npm start] command, in most videos it shows that a page automatically opens on browser localhost:19002 but for me after several times all I get is metro-bundler-error

Would be really helpful if someone can direct me on what I should do.

Upvotes: 8

Views: 10019

Answers (2)

sreeya chidere
sreeya chidere

Reputation: 11

You will have to install react-native-web@~0.18.10, [email protected], @expo/webpack-config@^18.0.1 by running:

npx expo install react-native-web@~0.18.10 [email protected] @expo/webpack-config@^18.0.1

and then press w to open in your web

Upvotes: 1

El Hassane Essadrati
El Hassane Essadrati

Reputation: 443

The Expo CLI Web UI( the page which automatically opens on browser localhost:19002) is deprecated and in the new version of expo is no longer available. Just use terminal UI and tap ? in the terminal to see the available options

Upvotes: 18

Related Questions