-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Regression from PR #47458: Cannot install React Native from Git anymore #50460
Copy link
Copy link
Open
Labels
Impact: RegressionDescribes a behavior that used to work on a prior release, but stopped working recently.Describes a behavior that used to work on a prior release, but stopped working recently.Needs: AttentionIssues where the author has responded to feedback.Issues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Needs: Version Info
Metadata
Metadata
Assignees
Labels
Impact: RegressionDescribes a behavior that used to work on a prior release, but stopped working recently.Describes a behavior that used to work on a prior release, but stopped working recently.Needs: AttentionIssues where the author has responded to feedback.Issues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Needs: Version Info
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
This PR updates
shouldSkipGenerationForRncoreas such it checks if.../ReactCommonexists before deciding to skiprncoregeneration, whereas previously it would check.../ReactCommon/react/renderer/components/rncorespecifically.This change breaks installations from Git.
I noticed this while upgrading from
0.76.2to0.78.1.Per my debugging:
rncoreis pre-generated using theprepackscriptrncoregets generated when runningpod installrncoreis pre-generated using theprepackscriptrncorewill NOT get generated when runningpod installbecause.../ReactCommonis detected as exists even though.../ReactCommon/react/renderer/components/rncoredoes notSteps to reproduce
React Native Version
0.78.1
Affected Platforms
Runtime - iOS, Other (please specify)
Output of
npx @react-native-community/cli infoStacktrace or Logs
Reproducer
Run the reproducer bash script so you can test with your toolchain not mine
Screenshots and Videos
No response