Skip to content

Conversation

@mqli
Copy link
Contributor

@mqli mqli commented Sep 17, 2015

The issue here #2787

The root path '/' dosn't match windows root path

The issue here facebook#2787

The root path '/' dosn't match windows root path
@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@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!

@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 17, 2015
@mkonicek
Copy link
Contributor

Thanks for the PR!

@martinbigio Can you review this please?

@martinbigio
Copy link
Contributor

Looks good to me!

@martinbigio
Copy link
Contributor

@facebook-github-bot shipit

@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/830425153722383/int_phab to review.

@@ -226,7 +226,7 @@ class ResolutionRequest {
realModuleName => {
const searchQueue = [];
for (let currDir = path.dirname(fromModule.path);
currDir !== '/';
currDir !== path.parse(fromModule.path).root;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The result of the path.parse call is constant and this is being evaluated on each iteration so it makes sense to hoist this.

Thanks @sebmck , that make more sence.
@mqli
Copy link
Contributor Author

mqli commented Sep 18, 2015

Thanks @sebmck , yet I think the other code on master causing the ci building failed.

@martinbigio
Copy link
Contributor

@mqli the tests failures are unrelated. Could you update the PR with @sebmck suggestion?

@ghost ghost closed this in f5409c1 Sep 18, 2015
MattFoley pushed a commit to skillz/react-native that referenced this pull request Nov 9, 2015
Summary: The issue here facebook#2787

The root path '/' dosn't match windows root path
Closes facebook#2789

Reviewed By: @​svcscm

Differential Revision: D2452718

Pulled By: @martinbigio
cpojer pushed a commit to facebook/metro that referenced this pull request Jan 26, 2017
Summary: The issue here facebook/react-native#2787

The root path '/' dosn't match windows root path
Closes facebook/react-native#2789

Reviewed By: @​svcscm

Differential Revision: D2452718

Pulled By: @martinbigio
gabrieldonadel pushed a commit to gabrieldonadel/react-native that referenced this pull request Jan 6, 2026
## Summary:

Helps (but doesn't fix) facebook#2789 

Replace the custom bash script to pin cmake with an action that upstream
React Native is using.
gabrieldonadel pushed a commit to gabrieldonadel/react-native that referenced this pull request Jan 8, 2026
Resolves facebook#2789

## Summary:

Upstream, the Hermes repo changed their default branch from `main`
(Legacy Hermes) to `static_h` (HermesV1). Our scripts to look up and
build Hermes from source (used on our `main` branch) started pulling in
HermesV1 instead of legacy hermes, which we won't support till RN 0.84.

Let's fix the lookup logic so always look up the commit from Hermes'
`main` branch instead. Let's also update cmake to a version that
supports visionOS

## Test Plan:

Revert my commit to use JSC on CI so we can see if Hermes passes.
This pull request was closed.
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.

5 participants