Values of expoServerPort and packagerPort are both 19000

When I launch the app with expo start it does not appear to launch the packager. Going to localhost:19000 gives a HTML document instead of a JSON one. The packager-info.json file shows both the server and packager ports being set to 19000. I assume this produces a conflict and so the packager can’t start (though I don’t see any errors about that).

I am on a brand new, freshly installed computer. I previously had this running on my previous machine, only a week or so ago. Other people in my team are able to run this app fine, I seem to be the only one with an issue. I’ve just done a straight pull from Git so should all be the same. Any ideas what causes this?

expo start

Expo DevTools is running at http://localhost:19002
Press d to open DevTools now, or shift-d to always open it automatically.
Some of your project’s dependencies are not compatible with currently installed expo package version:

  • react-native-screens - expected version range: ~2.15.2 - actual version installed: ~2.17.0
    Your project may not work correctly until you install the correct versions of the packages.
    To install the correct versions of these packages, please run: expo install [package-name …]
    Starting Metro Bundler

exp://192.168.1.163:19000

[QR Code]

To run the app, choose one of:
› Scan the QR code above with the Expo app (Android) or the Camera app (iOS).
› Press a for Android emulator, or i for iOS simulator, or w to run on web.
› Press e to send a link to your phone with email.

Press ? to show a list of all available commands.
Logs for your project will appear below. Press Ctrl+C to exit.

packager-info.json

{
  "devToolsPort": 19002,
  "expoServerPort": 19000,
  "packagerPort": 19000,
  "packagerPid": null
}

Diagnostics

  Expo CLI 4.1.6 environment info:
    System:
      OS: macOS 11.2.1
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 14.15.5 - ~/.nvm/versions/node/v14.15.5/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 6.14.11 - ~/.nvm/versions/node/v14.15.5/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    IDEs:
      Xcode: /undefined - /usr/bin/xcodebuild
    npmPackages:
      expo: ~40.0.0 => 40.0.1 
      react: 16.13.1 => 16.13.1 
      react-dom: 16.13.1 => 16.13.1 
      react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2 
    Expo Workflow: managed

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.