microsoft / microsoft/react-native-windows

0.83.2 can't find `@react-native-windows/find-dotnet-tools`

Open
#16,278 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Needs: Triage :mag:
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Problem Description

run-windows fails in 0.83.2 because it tries to import @react-native-windows/find-dotnet-tools but @react-native-windows/cli doesn't declare the dependency in package.json:

https://github.com/microsoft/react-native-windows/blob/1da92454b712f610178fed58aa2480c35ec14fc1/packages/%40react-native-windows/cli/package.json#L20-L23

There is also no @react-native-windows/find-dotnet-tools for 0.83: https://www.npmjs.com/package/@react-native-windows/find-dotnet-tools?activeTab=versions

Steps To Reproduce
  1. Create a project with react-native-windows@0.83.2
  2. Build
Expected Results

No response

CLI version
Environment
-
Community Modules

No response

Target React Native Architecture

New Architecture (WinAppSDK) Only

Target Platform Version

= 10.0.26100

Visual Studio Version

None

Build Configuration

None

Snack, code example, screenshot, or link to a repository

No response

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the failure with react-native-windows@0.83.2, then inspect packages/@react-native-windows/cli/package.json and the available @react-native-windows/find-dotnet-tools versions. Determine the dependency and release-version alignment needed for run-windows, and verify that a 0.83.2 project builds successfully afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.