运行 在 windows 上使用 npx react-native 运行-windows 反应本机应用程序

Run react native application on windows with npx react-native run-windows

我通过 npx react-native init Test --template react-native-template-typescript (https://reactnative.dev/docs/typescript) 创建了一个带有 React Native 的测试应用程序。
这似乎工作正常,虽然它找不到打字稿模板(log as text | log as pictures)。
现在我根据 docs. This works fine, log here 使用 cd Test 和 运行 npx react-native-windows-init --overwrite cd 进入创建的目录。
当我现在 运行 npx react-native run-windows 正如文档中所说的那样时,我收到错误消息 Build failed with message Building Solution - error code 1. Check your build configuration (log here or picture)

我尝试了什么:

我在用什么:

我通过安装 Visual Studio 19 版本修复了它。貌似2022版本不行。