-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.54.4] Metro Bundler can't listen on port undefined #18673
Comments
This is happening on 55 as well `Environment: Packages: (wanted => installed) ❌ /Users/abc/Apps/testText/node_modules/react-native/React/Base/RCTBundleURLProvider.m:15:53: use of undeclared identifier 'undefined'; did you mean 'underline'? const NSUInteger kRCTBundleURLProviderDefaultPort = RCT_METRO_PORT; |
As this is already fixed in master, closing as Fixed. 0.55 should be getting released any moment. You may also discuss cherry-pick requests over at https://github.com/react-native-community/react-native-releases. |
Switching to react-native: 0.52.2 solved this for me |
Downgrading is not an acceptable solution. I noticed Update: I see that the patch is included in |
Same issue here with @wouterds |
I've got the same issue as @jacktator and @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 withMetro 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
Steps to Reproduce
Run
react-native run-ios --device
in any React Native project using the latest0.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.
The text was updated successfully, but these errors were encountered: