Skip to content

Clarify specific CLI and RN versions in init command #4638

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jenskuhrjorgensen
Copy link
Contributor

Clarify specific CLI and RN versions. Previously, it was not super clear that X.XX.X and X.XX.X were not supposed to be the same versions.

Clarify specific CLI and RN version
Copy link

netlify bot commented Jun 10, 2025

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 4e64ef7
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/684822bd8fb9a60008edff3a
😎 Deploy Preview https://deploy-preview-4638--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.


```shell
npx @react-native-community/cli@X.XX.X init AwesomeProject --version X.XX.X
npx @react-native-community/cli@X.XX.X init AwesomeProject --version Y.YY.Y
Copy link
Contributor

Choose a reason for hiding this comment

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

@szymonrybczak should we replace here to just be npx @react-native-community/cli@latest init?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In my company we use Jfrog Artifactory as a proxy for all our npm packages, and I don't know if that is the limiting factor, but the @latest version gives, and has always given me, "Invalid Version: latest", so I would prefer if you kept this guide for initializing specific RN versions with the CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants