Skip to content

Fix core autolinking not working on Windows#45572

Closed
cortinico wants to merge 1 commit intofacebook:mainfrom
cortinico:export-D60037587
Closed

Fix core autolinking not working on Windows#45572
cortinico wants to merge 1 commit intofacebook:mainfrom
cortinico:export-D60037587

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

Summary:
0.75-rc.5 is currently broken on Windows.

This is due to us invoking npx react-native-community/cli config without
a cmd /c prefix.

This fixes it by using our function windowsAwareCommandLine.
The problem is that this required a lot of refactoring since that util was not available for the settings plugin.

Fixes #45403

Changelog:
[Internal] [Changed] - Fix core autolinking not working on Windows

Differential Revision: D60037587

Summary:
0.75-rc.5 is currently broken on Windows.

This is due to us invoking `npx react-native-community/cli config` without
a `cmd /c` prefix.

This fixes it by using our function `windowsAwareCommandLine`.
The problem is that this required a lot of refactoring since that util was not available for the settings plugin.

Fixes facebook#45403

Changelog:
[Internal] [Changed] - Fix core autolinking not working on Windows

Differential Revision: D60037587
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Jul 22, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D60037587

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

This pull request has been merged in fedbe2d.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cortinico in fedbe2d

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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0.75.0-rc.6 - App build failed for task ':app:generateAutolinkingPackageList'.

3 participants