Regression from PR #47458: Cannot install React Native from Git anymore #50460
Labels
Impact: Regression
Describes a behavior that used to work on a prior release, but stopped working recently.
Needs: Author Feedback
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Needs: Version Info
Description
This PR updates
shouldSkipGenerationForRncore
as such it checks if.../ReactCommon
exists before deciding to skiprncore
generation, whereas previously it would check.../ReactCommon/react/renderer/components/rncore
specifically.This change breaks installations from Git.
I noticed this while upgrading from
0.76.2
to0.78.1
.Per my debugging:
rncore
is pre-generated using theprepack
scriptrncore
gets generated when runningpod install
rncore
is pre-generated using theprepack
scriptrncore
will NOT get generated when runningpod install
because.../ReactCommon
is detected as exists even though.../ReactCommon/react/renderer/components/rncore
does notSteps to reproduce
React Native Version
0.78.1
Affected Platforms
Runtime - iOS, Other (please specify)
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
Run the reproducer bash script so you can test with your toolchain not mine
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: