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

fix(iOS): fallback to old path when dynamic resolve fails #46432

Closed

Conversation

okwasniewski
Copy link
Contributor

Summary:

This PR is a follow-up after #46181 this change makes sure that if the require.resolve fails we still fall back to the old behavior.

The require.resolve was failing for local builds of OOT platforms (because in OOT platforms mono repo react-native is renamed to react-native-platform-name)

Changelog:

[IOS] [FIXED] - Fallback to old resolve mechanism when node require fails to resolve react native path

Test Plan:

CI Green

@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 Sep 11, 2024
@okwasniewski okwasniewski changed the title fix: fallback to old path when dynamic resolve fails fix(iOS): fallback to old path when dynamic resolve fails Sep 11, 2024
@facebook-github-bot facebook-github-bot added p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Sep 11, 2024
@okwasniewski
Copy link
Contributor Author

cc: @cipolleschi

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Sep 13, 2024
@facebook-github-bot
Copy link
Contributor

@cipolleschi merged this pull request in 3cbaddb.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @okwasniewski in 3cbaddb

When will my fix make it into a release? | How to file a pick request?

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. Merged This PR has been merged. p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants