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

Update path to react-native cli for RN versions 0.75 and above #2559

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

MikhailSuendukov
Copy link
Contributor

@MikhailSuendukov MikhailSuendukov commented Dec 18, 2024

Description

Use new path to react-native CLI for React Native versions 0.75 and above for Windows OS.

Build succeed.

Links

AB#109354
#2554

@PavanKumarChary
Copy link

Is this issue is resolved ?
I am facing the same issue while trying to give codepush release from windows machine
Error :
node:internal/modules/cjs/loader:1228
throw err;
^

Error: Cannot find module '\node_modules\react-native\local-cli\cli.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v20.18.0
Error: Failed to release a CodePush update.

I am using react-native version 0.76.5 and appcenter version 3.0.3

How to resolve this error ?

@MikhailSuendukov
Copy link
Contributor Author

I am using react-native version 0.76.5 and appcenter version 3.0.3

How to resolve this error ?

A fix for this issue will be released after this pull request is merged.

@PavanKumarChary
Copy link

I am using react-native version 0.76.5 and appcenter version 3.0.3
How to resolve this error ?

A fix for this issue will be released after this pull request is merged.

Thanks for the response

When can i expect the release ?
I mean how many days it will take to release the fix.

@DmitriyKirakosyan DmitriyKirakosyan merged commit 3d69bd7 into master Jan 8, 2025
1 check passed
@DmitriyKirakosyan DmitriyKirakosyan deleted the rn-cli-path-impove branch January 8, 2025 12:08
@DordeDimitrijev DordeDimitrijev mentioned this pull request Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants