Skip to content

Tag the matching commits against the currently supported versions of React Native #2

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
blakef opened this issue Feb 29, 2024 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@blakef
Copy link
Collaborator

blakef commented Feb 29, 2024

Problem

We need accurate tags in the project for the currently supported versions of React Native, so the CLI can match and initialise the correct template. These might, in-fact, be the same commits but we need to be sure.

Currently supported versions

See here, but the list is:

Version Type Support level
0.74.x Next version Future
0.73.x Latest stable Active
0.72.x Previous (-1) minor series Active
0.71.x Previous (-2) minor series End of Cycle
<=0.70.x Old minor series Unsupported
@blakef blakef added good first issue Good for newcomers help wanted Extra attention is needed labels Feb 29, 2024
@ah584d
Copy link

ah584d commented Apr 20, 2025

any update ?

actually using the lasted cli or even an older one does not allow to create new project above version 0.74.7

if you run for example the command:

npx @react-native-community/cli init AwesomeProject --version 0.77.2 --verbose

you will get error:

npx @react-native-community/cli init AwesomeProject --version 0.77.2 --verbose
debug Failed to get concrete version from '0.77.2': , Error: Unknown version react-native@0.77.2
debug [template]: is '0.77.2 (0.77.2)' < '0.75.0' = no, look for template in @react-native-community/template
error Cannot convert undefined or null to object.
TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)

@cortinico
Copy link
Member

any update ?

Could you open this issue against https://github.com/react-native-community/cli as that's where that logic lives

@wanxue0804
Copy link

wanxue0804 commented May 6, 2025

any update ?

actually using the lasted cli or even an older one does not allow to create new project above version 0.74.7

if you run for example the command:

npx @react-native-community/cli init AwesomeProject --version 0.77.2 --verbose

you will get error:

npx @react-native-community/cli init AwesomeProject --version 0.77.2 --verbose
debug Failed to get concrete version from '0.77.2': , Error: Unknown version react-native@0.77.2
debug [template]: is '0.77.2 (0.77.2)' < '0.75.0' = no, look for template in @react-native-community/template
error Cannot convert undefined or null to object.
TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)

You may need to specify a template

npx @react-native-community/cli@latest init ProjectName --version 0.79.2 --template @react-native-community/template@latest

that's ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants