Skip to content
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

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

Closed

Conversation

nitaking
Copy link

@nitaking nitaking commented Apr 19, 2021

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 owner April 19, 2021 06:38
@facebook-github-bot
Copy link
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 [email protected]. Thanks!

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

pull-bot commented Apr 19, 2021

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
Copy link

analysis-bot commented Apr 19, 2021

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 96930fa

@analysis-bot
Copy link

analysis-bot commented Apr 19, 2021

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,853,429 -782
android hermes armeabi-v7a 8,374,788 -903
android hermes x86 9,310,371 -856
android hermes x86_64 9,253,374 -714
android jsc arm64-v8a 10,584,458 -661
android jsc armeabi-v7a 10,088,937 -770
android jsc x86 10,602,897 -731
android jsc x86_64 11,186,169 -599

Base commit: 96930fa

@facebook-github-bot facebook-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
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

gnattu commented Apr 23, 2021

Let me add #31260 to this.

@nitaking
Copy link
Author

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

@nitaking
Copy link
Author

nitaking commented Apr 23, 2021

@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

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

@leotm
Copy link
Contributor

leotm commented Jul 11, 2021

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
Author

nitaking commented Sep 7, 2021

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

d75683a

@nitaking nitaking closed this Sep 7, 2021
@rogeriomq
Copy link

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 free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This 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.

8 participants