Skip to content

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
@Goallying
Copy link

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

I'm new to RN ,how to use new path to react-native CLI for React Native versions,need more details,thanks

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.

7 participants