microsoft / microsoft/react-native-windows-samples

Fresh react-native-windows app creation fails with "^0.79.0" specified

Open
#1,088 1 comment 0 reactions 1 assignee View on GitHub

@sundaramramaswamy is already working on this.

Since Sep 25, 2025.

bug documentation
Dominant language
C#
Stars
544
Forks
218
PR merge metrics
No merged PRs in 30d

Description

Page url

https://microsoft.github.io/react-native-windows/docs/getting-started

Problem Description

Same with https://github.com/microsoft/react-native-windows/issues/15081

PS D:\RNProjects> npx @react-native-community/cli@latest init WindowsPlayground --verbose --version ^0.79.0
Need to install the following packages:
@react-native-community/cli@20.0.2
Ok to proceed? (y)

debug We couldn't find a package.json in your project. Are you sure you are running it inside a React Native project?
debug Failed to load configuration of your project. Only a subset of commands will be available.
debug Failed to get concrete version from '^0.79.0': , Error: Unknown version react-native@^0.79.0
debug [template]: is '^0.79.0 (0.79.0)' < '0.75.0' = no, look for template in @react-native-community/template
error Cannot read properties of null (reading 'major').
TypeError: Cannot read properties of null (reading 'major')
    ...
PS D:\RNProjects> npx @react-native-community/cli@latest init WindowsPlayground --verbose --version "0.79.0"
Need to install the following packages:
@react-native-community/cli@20.0.2
Ok to proceed? (y)

debug We couldn't find a package.json in your project. Are you sure you are running it inside a React Native project?
debug Failed to load configuration of your project. Only a subset of commands will be available.
debug Mapped: 0.79.0 -> 0.79.0
debug [template]: is '0.79.0 (0.79.0)' < '0.75.0' = no, look for template in @react-native-community/template
debug Template: '@react-native-community/template@0.79.0'
debug Initializing new project
Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.