Skip to content

Find node on m1 via homebrew node managers - #31678

Closed
danilobuerger wants to merge 1 commit into
react:masterfrom
danilobuerger:patch-4
Closed

Find node on m1 via homebrew node managers#31678
danilobuerger wants to merge 1 commit into
react:masterfrom
danilobuerger:patch-4

Conversation

@danilobuerger

Copy link
Copy Markdown
Contributor

Summary

Adds homebrew on m1 to path before evaluating command -v brew to support nvm on m1 via homebrew.

Changelog

[General] [Changed] - Find node on m1 via homebrew node managers

Test Plan

On M1, use nvm via homebrew. Create a RN project and it'll fail to build iOS app. Apply the patch, and build will succeed.

cc: @dulmandakh as discussed in #31622

@facebook-github-botfacebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 7, 2021
@analysis-bot

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
ios-universaln/a--

Base commit: a403e76

@analysis-bot

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a9,239,904+0
androidhermesarmeabi-v7a8,749,836+0
androidhermesx869,702,219+0
androidhermesx86_649,667,430+0
androidjscarm64-v8a10,886,878+0
androidjscarmeabi-v7a9,788,100+0
androidjscx8610,944,594+0
androidjscx86_6411,551,336+0

Base commit: a403e76

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@PeteTheHeat has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@PeteTheHeat merged this pull request in 4d40b53.

@facebook-github-botfacebook-github-bot added the Merged This PR has been merged. label Jun 8, 2021
@danilobuerger
danilobuerger deleted the patch-4 branch June 8, 2021 18:24
kelset pushed a commit that referenced this pull request Jun 16, 2021
Summary:
Adds homebrew on m1 to path before evaluating `command -v brew` to support nvm on m1 via homebrew.
## Changelog
[General] [Changed] - Find node on m1 via homebrew node managers
Pull Request resolved: #31678
Test Plan:
On M1, use nvm via homebrew. Create a RN project and it'll fail to build iOS app. Apply the patch, and build will succeed.
cc: dulmandakh as discussed in #31622
Reviewed By: ShikaSD
Differential Revision: D28967386
Pulled By: PeteTheHeat
fbshipit-source-id: 3d4a41dd3cc25fbf77778b16468a236b141d1259
danilobuerger added a commit to feastr/react-native that referenced this pull request Oct 28, 2021
Summary:
Adds homebrew on m1 to path before evaluating `command -v brew` to support nvm on m1 via homebrew.
## Changelog
[General] [Changed] - Find node on m1 via homebrew node managers
Pull Request resolved: react#31678
Test Plan:
On M1, use nvm via homebrew. Create a RN project and it'll fail to build iOS app. Apply the patch, and build will succeed.
cc: dulmandakh as discussed in react#31622
Reviewed By: ShikaSD
Differential Revision: D28967386
Pulled By: PeteTheHeat
fbshipit-source-id: 3d4a41dd3cc25fbf77778b16468a236b141d1259
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.MergedThis PR has been merged.Needs: React Native Team Attention

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@danilobuerger@analysis-bot@facebook-github-bot@elicwhite