react-native: Metro Bundler is not opening automatically in both android & ios after upgrading to React native 0.73.1

Description

Metro Bundler is not opening automatically in both android & ios after upgrading from 0.72.3 to 0.73.1

we need to run manually with “npm start” command

Steps to reproduce

  1. Install the application
  2. Notice the crash

React Native Version

0.73.1

Affected Platforms

Runtime - Android, Runtime - iOS

Output of npx react-native info

System:
  OS: macOS 13.4.1
  CPU: (8) arm64 Apple M1
  Memory: 40.95 MB / 16.00 GB
  Shell:
    version: 3.2.57
    path: /bin/bash
Binaries:
  Node:
    version: 20.10.0
    path: ~/.nvm/versions/node/v20.10.0/bin/node
  Yarn: Not Found
  npm:
    version: 10.2.3
    path: ~/.nvm/versions/node/v20.10.0/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.14.3
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 22.4
      - iOS 16.4
      - macOS 13.3
      - tvOS 16.4
      - watchOS 9.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2021.3 AI-213.7172.25.2113.9014738
  Xcode:
    version: 14.3/14E222b
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.9
    path: /usr/local/opt/openjdk@17/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.1
    wanted: 0.73.1
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

No Bundle URL Present

Reproducer

https://github.com/prateekuttreja2020/sample

Screenshots and Videos

Simulator Screenshot - iPhone 14 Pro - 2024-01-05 at 17 48 52

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 15 (2 by maintainers)

Commits related to this issue

Most upvoted comments

same issue, i use both 0.73.2 or 0.73.1

This has been fixed in 0.73.3

I’m having the same issue on freshly installed 73.3. However, this error only appears when I start an app from XCode. If I run it from CLI it works.

@a-kova This is intended: Metro will no longer be started when running builds via Xcode (dc6845739e by @huntie)

Duplicates https://github.com/react-native-community/cli/issues/2155

This will be fixed in 0.73.2 which will be out in the near future

Also you already reported this same issue 3 days ago: https://github.com/facebook/react-native/issues/42152

Please refrain from cloning more issues.

oh, got it, thanks!

same issue, i use both 0.73.2 or 0.73.1

This has been fixed in 0.73.3

Any idea for a deployment date for 73.3?

@jcarioti Im dealing with the same issue, but it seems to persist in 73.3

Edit

Turns out it was intended: Metro will no longer be started when running builds via Xcode (dc6845739e by @huntie)

Same problem 0.73.2

same issue, i use both 0.73.2 or 0.73.1

This has been fixed in 0.73.3

Any idea for a deployment date for 73.3?