Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

React Native Windows 0.83 does not support `REACT_EAGER_TURBO_MODULE` (while 0.81 does)

オープン
#16,479 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp, react-native

調査の方向性

Compare the REACT_EAGER_TURBO_MODULE change in PR #16093 and its 0.81 backport in PR #16095 with the 0.83 stable branch and 0.83.2 release. Start by locating the macro definition and the Windows build project that includes MainRuntimeInstaller.h; the reported compile error is C4430. Done means the macro is available in 0.83 and the supplied usage compiles.

索引モデルが issue の本文から書いたものです。

説明

bug Needs: Triage :mag:
Problem Description

It seems #16093 (the PR introducing REACT_EAGER_TURBO_MODULE), which landed on main and was backported to 0.81 in #16095, was never cherry-picked into 0.83 (it's neither on 0.83-stable, nor the current 0.83.2 npm release).

Steps To Reproduce

Try using REACT_EAGER_TURBO_MODULE, as we do in expo-desktop with React Native Windows 0.81.37:

REACT_EAGER_TURBO_MODULE(ExpoMainRuntimeInstaller);
struct ExpoMainRuntimeInstaller {
  using ModuleSpec = ExpoDesktopModulesCoreCodegen::ExpoMainRuntimeInstallerSpec;

We get a compile-time failure:

× Building Solution: ExpoDesktopStubs.vcxproj -> C:\Users\jamie\Downloads\expod-beta\MyApp\windows\ARM64\Debug\E...
- Build failed with message C:\Users\jamie\Downloads\expod-beta\MyApp\node_modules\expo-desktop-modules-core\windows\ExpoModulesCore\MainRuntimeInstaller.h(26,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\jamie\Downloads\expod-beta\MyApp\node_modules\expo-desktop-modules-core\windows\ExpoModulesCore\ExpoModulesCore.vcxproj]. Check your build configuration.
Expected Results

It should compile just fine.

CLI version

Not using RNC-CLI. Directly using @react-native-windows/cli 0.83.2.

Environment
System:
  OS: Windows 11 10.0.26100
  CPU: (4) arm64 Apple Silicon
  Memory: 421.79 MB / 7.99 GB
Binaries:
  Node:
    version: 24.21.0
    path: C:\Users\jamie\AppData\Local\mise\installs\node\24.21.0\node.EXE
  Yarn:
    version: 1.22.22
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 12.0.2
    path: C:\Users\jamie\AppData\Local\mise\installs\npm\latest\node_modules\.bin\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.19041.0
      - 10.0.22621.0
      - 10.0.26100.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.14.37614.0 (Visual Studio Community 2022)
    - 18.9.12112.369 (Visual Studio Community 2026)
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 19.2.0
    wanted: 19.2.0
  react-native:
    installed: 0.83.10
    wanted: 0.83.10
  react-native-windows:
    installed: 0.83.2
    wanted: 0.83.2
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

info React Native v0.87.1 is now available (your project is running on v0.83.10).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.87.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.83.10&to=0.87.1
info For more info, check out "https://reactnative.dev/docs/upgrading?os=windows".

Done in 35.6s using pnpm v12.11.2
Community Modules

No response

Target React Native Architecture

New Architecture (WinAppSDK) Only

Target Platform Version

None

Visual Studio Version

None

Build Configuration

None

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

No response

主要言語
C++
スター
17.4k
フォーク
1.2k
平均マージ
2日 20時間
マージ済み PR(30日)
15

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/react-native-windows のほかの issue

microsoft/react-native-windows の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。