Skip to content

Remove find-node.sh that cause PhaseScriptExecution. - #31380

Closed
nitaking wants to merge 4 commits into
react:mainfrom
nitaking:hotfix/remove-find-node-script
Closed

Remove find-node.sh that cause PhaseScriptExecution.#31380
nitaking wants to merge 4 commits into
react:mainfrom
nitaking:hotfix/remove-find-node-script

Conversation

@nitaking

@nitakingnitaking commented Apr 19, 2021

Copy link
Copy Markdown

Summary

find-node.sh is th couse of many build errors. (Causes PhaseScriptExecution)

I think that the node path setting is not done by the library, but by the user.
If the react-native even complements the node's path setting, shouldn't it be complemented by the document?

What is the community's policy on this?
We are losing a lot of time to this meritless hacky code. This fix should be incorporated as a band-aid, even if it's not ideal.

Changelog

[iOS] [Fixed] - Remove find-node script.

Test Plan

@nitaking
nitaking requested a review from hramos as a code ownerApril 19, 2021 06:38
@facebook-github-bot

Copy link
Copy Markdown
Contributor

Hi @nitaking!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@nitakingnitaking changed the title 🚑 🔥 Remove find-node.shRemove find-node.sh that cause PhaseScriptExecution.Apr 19, 2021
@pull-bot

pull-bot commented Apr 19, 2021

Copy link
Copy Markdown
Warnings
⚠️🔒 package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.

Generated by 🚫 dangerJS against 2c27863

@analysis-bot

analysis-bot commented Apr 19, 2021

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

Base commit: 96930fa

@analysis-bot

analysis-bot commented Apr 19, 2021

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a8,853,429-782
androidhermesarmeabi-v7a8,374,788-903
androidhermesx869,310,371-856
androidhermesx86_649,253,374-714
androidjscarm64-v8a10,584,458-661
androidjscarmeabi-v7a10,088,937-770
androidjscx8610,602,897-731
androidjscx86_6411,186,169-599

Base commit: 96930fa

@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 Apr 19, 2021
@facebook-github-bot

Copy link
Copy Markdown
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@gnattu

Copy link
Copy Markdown

Let me add #31260 to this.

@nitaking

Copy link
Copy Markdown
Author

Have identified a problem with the release build in this fix.

@nitaking

nitaking commented Apr 23, 2021

Copy link
Copy Markdown
Author

@gnattu
Thanks.
The fix for #30781 succeeds in release build / debug build.
Can I incorporate the content from that PR into this PR?

@AyoubAtba

Copy link
Copy Markdown

I'm having this problem any solutions????

@leotm

Copy link
Copy Markdown
Contributor

On new M1 Mac Mini after brew install node, sudo mkdir /usr/local/bin then sudo ln -s /opt/homebrew/bin/node /usr/local/bin/node got Xcode building for me, I gave current PR changes a shot first with no luck.

@nitaking

Copy link
Copy Markdown
Author

This fix seems to have fixed the problem, so I'll close this PR.

d75683a

@nitakingnitaking closed this Sep 7, 2021
@rogeriomq

Copy link
Copy Markdown

On new M1 Mac Mini after brew install node, sudo mkdir /usr/local/bin then sudo ln -s /opt/homebrew/bin/node /usr/local/bin/node got Xcode building for me, I gave current PR changes a shot first with no luck.

I use ASDF and create link with sudo ln -s /Users/YOUR_USER/.asdf/shims/node /usr/local/bin/node. Solved!

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@nitaking@facebook-github-bot@pull-bot@analysis-bot@gnattu@AyoubAtba@leotm@rogeriomq@sota000