Manish Gupta
Manish Gupta

Reputation: 97

Expo developer tools option is missing

When I start my project using command expo start , Expo is starting the Metro bundler but not opening the developer tool. Also developer tool option is not available in commands menu.

enter image description here

I suppose there should be command option : 'd' which will launch the developer tool on the localhost:19002 but it's not coming for me.

Using expo cli version 5.4.4

Upvotes: 4

Views: 10147

Answers (3)

Fredaroo
Fredaroo

Reputation: 444

Developer tools removal

Since the release of [email protected] the expo team has decided to discontinue the Web UI they had put in place. You can find more details about this in this blog post.

All of the actions that could be done within the Web UI can be done within the command line interface. For example, one used to be able to change connection mode directly within the UI : enter image description here

Now to start expo in --tunnel mode you would have to have ngrok installed on the new expo version npm i -g @expo/ngrok and to run npx expo start --tunnel. Details on the CLI can be found in the docs here.


Accessing the Developer tools anyway

If you still wish to use the developer tools web UI, there are two options :

  1. Use an older version of the expo sdk (~44.0), to do so you could use [email protected] which is linked to that sdk. However, it is not recommended to stay on older versions which will be discarded at some point.
  2. Use your own Web UI. Here is the source code from expo's original Web UI which you can use a base. There are likely over repos out there which fit this purpose.

Upvotes: 7

Manish Gupta
Manish Gupta

Reputation: 97

After changing the expo sdk version from 45.0.4 to 44.0.6, I am able to see the Developer tools running on http://localhost:19002.

Upvotes: 0

Vladyslav Kochetkov
Vladyslav Kochetkov

Reputation: 147

If you're using a library such as react-navigation or anything (or itself) the relies on reanimated you won't be able to use remote debugging. https://docs.expo.dev/versions/latest/sdk/reanimated/

Upvotes: 1

Related Questions