Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#16,278 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
56/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
react-native
领域
build-system, cli

调研方向

使用 [email protected] 重现该失败,然后检查 packages/@react-native-windows/cli/package.json 以及可用的 @react-native-windows/find-dotnet-tools 版本。确定 run-windows 所需的依赖关系与发布版本对齐方式,并随后验证 0.83.2 项目能够成功构建。

由索引模型根据 Issue 内容生成。

描述

bug Needs: Triage :mag:
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 [email protected]
  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

主要语言
C++
星标
17.4k
派生
1.2k
平均合并
2 天 17 小时
30 天内合并 PR
13

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/react-native-windows 的其他 Issue

查看 microsoft/react-native-windows 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。