Skip to content

[0.54.4] Metro Bundler can't listen on port undefined #18673

Description

@wouterds

Hi, I'm running the latest version of React Native and all goes well, except running from CLI to your device. Whenever I run react-native run-ios --device it fails with Metro Bundler can't listen on port undefined.

The issue has been fixed in #17983 however, but is scheduled for 0.55. Which makes the current latest version just unusable and broken. Backport needed asap.

Environment

Environment:
  OS: macOS High Sierra 10.13.3
  Node: 9.8.0
  Yarn: 1.3.2
  npm: 5.7.1
  Watchman: 4.9.0
  Xcode: Xcode 9.2 Build version 9C40b
  Android Studio: Not Found

Packages: (wanted => installed)
  react: ^16.3.0 => 16.3.0
  react-native: ^0.54.4 => 0.54.4

Steps to Reproduce

Run react-native run-ios --device in any React Native project using the latest 0.54.4 release.

Expected Behavior

Start the metro bundler correctly and continue compiling the application.

Actual Behavior

Metro bundler fails because the port is undefined.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution: FixedA PR that fixes this issue has been merged.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions