-
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
Pass port when running on device (fix #17973) #17983
Conversation
@facebook-github-bot shipit |
Something went wrong executing that command, @hramos could you take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chirag04 is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Thanks for merging. :)
…On Wed, 14 Feb 2018 at 18.20, Facebook Community Bot < ***@***.***> wrote:
Closed #17983 <#17983> via
f8fee0a
<f8fee0a>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17983 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXsqYQmeS1s-vVsXSgypaAE51X3yFDQks5tUwfUgaJpZM4SFfiP>
.
|
Any way to use react native 53 on device? Is this already available as some beta that can be installed? |
Well for now I fixed it by adding the I'm very glad about the |
You can build from source if you want to take advantage of the fix before it makes it into a release. |
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> Building for iOS device `react-native run-ios --device [id]` fails since port is not passed. This is a blocker for us and prevents us from updating to latest React Native stable. I've tested this in our app and also in fresh app using RN master and verified that it works. None. [CLI] [BUGFIX] [local-cli/runIOS/runIOS.js] - Pass metro port when running on device <!-- Help reviewers and the release process by writing your own release notes **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.** CATEGORY [----------] TYPE [ CLI ] [-------------] LOCATION [ DOCS ] [ BREAKING ] [-------------] [ GENERAL ] [ BUGFIX ] [-{Component}-] [ INTERNAL ] [ ENHANCEMENT ] [ {File} ] [ IOS ] [ FEATURE ] [ {Directory} ] |-----------| [ ANDROID ] [ MINOR ] [ {Framework} ] - | {Message} | [----------] [-------------] [-------------] |-----------| [CATEGORY] [TYPE] [LOCATION] - MESSAGE EXAMPLES: [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see --> Closes facebook#17983 Differential Revision: D6988299 Pulled By: hramos fbshipit-source-id: 5169706600f87f13b9c9c105eb7d6db7a40194f1
Is there an ETA for release? |
Probably the next release beginning of March. Just fix it locally until then Sent with GitHawk |
For anyone else looking for a quick fix - in change to |
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> Building for iOS device `react-native run-ios --device [id]` fails since port is not passed. This is a blocker for us and prevents us from updating to latest React Native stable. I've tested this in our app and also in fresh app using RN master and verified that it works. None. [CLI] [BUGFIX] [local-cli/runIOS/runIOS.js] - Pass metro port when running on device <!-- Help reviewers and the release process by writing your own release notes **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.** CATEGORY [----------] TYPE [ CLI ] [-------------] LOCATION [ DOCS ] [ BREAKING ] [-------------] [ GENERAL ] [ BUGFIX ] [-{Component}-] [ INTERNAL ] [ ENHANCEMENT ] [ {File} ] [ IOS ] [ FEATURE ] [ {Directory} ] |-----------| [ ANDROID ] [ MINOR ] [ {Framework} ] - | {Message} | [----------] [-------------] [-------------] |-----------| [CATEGORY] [TYPE] [LOCATION] - MESSAGE EXAMPLES: [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see --> Closes #17983 Differential Revision: D6988299 Pulled By: hramos fbshipit-source-id: 5169706600f87f13b9c9c105eb7d6db7a40194f1
Why is this fix included in v0.53.3, but not in v0.54.0? |
The fix, f8fee0a, is only on master. You should expect this fix to be part of the 0.55 release, known as March 2018. It should enter RC status this week, and be available as a stable release next month. |
Thanks for your response hramos :)
I’m quite surprised the way this fix was not included to 0.54. Looking
forward to 0.55 RC. Is there any writeup where RN release process is
described? It might clarify things like which commits make to release and
which will not.
…On Mon, 5 Mar 2018 at 21.44, Héctor Ramos ***@***.***> wrote:
The fix, f8fee0a
<f8fee0a>,
is only on master. You should expect this fix to be part of the 0.55
release, known as March 2018. It should enter RC status this week, and be
available as a stable release next month.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17983 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXsqeMx_82wJcMYBwXauhH2og2KRI0Dks5tbZVwgaJpZM4SFfiP>
.
|
Yup, this is all documented in the versions page: http://facebook.github.io/react-native/versions.html We follow a monthly release train. Once a commit lands on master, it will make it into the next release candidate. As this commit landed after 0.54-RC was created, it has to wait for the 0.55-RC. We follow this process to ensure all changes soak for a month in order to surface any urgent issues. On rare occasion, we might cherry pick a fix into a particular RC, but the bar for doing so is quite high (i.e. it is a regression or it breaks all apps). Generally, feature fixes like this one are not good candidates for cherry-picking. Thanks for your patience. |
Thanks you for explanation! Also, nice work all around in issues and PRs
hramos. :)
…On Tue, 6 Mar 2018 at 0.36, Héctor Ramos ***@***.***> wrote:
Yup, this is all documented in the versions page:
http://facebook.github.io/react-native/versions.html
We follow a monthly release train. Once a commit lands on master, it will
make it into the next release candidate. As this commit landed after
0.54-RC was created, it has to wait for the 0.55-RC. We follow this process
to ensure all changes soak for a month in order to surface any urgent
issues. On rare occasion, we might cherry pick a fix into a particular RC,
but the bar for doing so is quite high (i.e. it is a regression or it
breaks all apps). Generally, feature fixes like this one are not good
candidates for cherry-picking. Thanks for your patience.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17983 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAXsqUKrHOx0LKTKO5DPGme7uW3O_n4pks5tbb3HgaJpZM4SFfiP>
.
|
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> Building for iOS device `react-native run-ios --device [id]` fails since port is not passed. This is a blocker for us and prevents us from updating to latest React Native stable. I've tested this in our app and also in fresh app using RN master and verified that it works. None. [CLI] [BUGFIX] [local-cli/runIOS/runIOS.js] - Pass metro port when running on device <!-- Help reviewers and the release process by writing your own release notes **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.** CATEGORY [----------] TYPE [ CLI ] [-------------] LOCATION [ DOCS ] [ BREAKING ] [-------------] [ GENERAL ] [ BUGFIX ] [-{Component}-] [ INTERNAL ] [ ENHANCEMENT ] [ {File} ] [ IOS ] [ FEATURE ] [ {Directory} ] |-----------| [ ANDROID ] [ MINOR ] [ {Framework} ] - | {Message} | [----------] [-------------] [-------------] |-----------| [CATEGORY] [TYPE] [LOCATION] - MESSAGE EXAMPLES: [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see --> Closes facebook#17983 Differential Revision: D6988299 Pulled By: hramos fbshipit-source-id: 5169706600f87f13b9c9c105eb7d6db7a40194f1
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> Building for iOS device `react-native run-ios --device [id]` fails since port is not passed. This is a blocker for us and prevents us from updating to latest React Native stable. I've tested this in our app and also in fresh app using RN master and verified that it works. None. [CLI] [BUGFIX] [local-cli/runIOS/runIOS.js] - Pass metro port when running on device <!-- Help reviewers and the release process by writing your own release notes **INTERNAL and MINOR tagged notes will not be included in the next version's final release notes.** CATEGORY [----------] TYPE [ CLI ] [-------------] LOCATION [ DOCS ] [ BREAKING ] [-------------] [ GENERAL ] [ BUGFIX ] [-{Component}-] [ INTERNAL ] [ ENHANCEMENT ] [ {File} ] [ IOS ] [ FEATURE ] [ {Directory} ] |-----------| [ ANDROID ] [ MINOR ] [ {Framework} ] - | {Message} | [----------] [-------------] [-------------] |-----------| [CATEGORY] [TYPE] [LOCATION] - MESSAGE EXAMPLES: [IOS] [BREAKING] [FlatList] - Change a thing that breaks other things [ANDROID] [BUGFIX] [TextInput] - Did a thing to TextInput [CLI] [FEATURE] [local-cli/info/info.js] - CLI easier to do things with [DOCS] [BUGFIX] [GettingStarted.md] - Accidentally a thing/word [GENERAL] [ENHANCEMENT] [Yoga] - Added new yoga thing/position [INTERNAL] [FEATURE] [./scripts] - Added thing to script that nobody will see --> Closes facebook/react-native#17983 Differential Revision: D6988299 Pulled By: hramos fbshipit-source-id: 5169706600f87f13b9c9c105eb7d6db7a40194f1
Motivation
Building for iOS device
react-native run-ios --device [id]
fails since port is not passed. This is a blocker for us and prevents us from updating to latest React Native stable.Test Plan
I've tested this in our app and also in fresh app using RN master and verified that it works.
Related PRs
None.
Related Issues
#17973: The --device option fails on command line in v53.0
Release Notes
[CLI] [BUGFIX] [local-cli/runIOS/runIOS.js] - Pass metro port when running on device