You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the 6/13 integration, a new ReactCommon file EventEmitter.h was brought in from upstream, and added as an include into the TurboModule.h file, which was causing the following errors:
Error C1083 Cannot open include file: 'react/bridging/EventEmitter.h': No such file or directory PlaygroundNativeModules C:\new-account-repos\react-native-windows\node_modules\react-native\ReactCommon\react\nativemodule\core\ReactCommon\TurboModule.h 17
Error C1083 Cannot open include file: 'react/bridging/EventEmitter.h': No such file or directory ReactNativePicker C:\new-account-repos\react-native-windows\node_modules\react-native\ReactCommon\react\nativemodule\core\ReactCommon\TurboModule.h 17
Error C1083 Cannot open include file: 'react/bridging/EventEmitter.h': No such file or directory playground C:\new-account-repos\react-native-windows\node_modules\react-native\ReactCommon\react\nativemodule\core\ReactCommon\TurboModule.h 17
These errors are the result of the path of the TurboModule.h having two ReactCommon directories, resulting in the Visual Studio looking in the wrong directory during the build process and throwing the above error.
In order to fix this issue, forks of EventEmitter.h, Function.h, Base.h and Convert.h in the react/bridigng directory in ReactCommon had to be made. Additionally, some slight modifications were also made to the include statements in LongLivedObject.h.
changed the title [-]Unfork 'react/bridging/EventEmitter.h'[/-][+]Unfork 'react/bridging/EventEmitter.h', 'react/bridging/Function.h' and 'react/bridging/Base.h'[/+]on Jun 26, 2024
changed the title [-]Unfork 'react/bridging/EventEmitter.h', 'react/bridging/Function.h' and 'react/bridging/Base.h'[/-][+]Unfork 'react/bridging/*' header files[/+]on Jun 27, 2024
As is slated to be a permanent fork (not something waiting for an upstream change), related to our tools. Investigation into options for that happening while still not blocking the integration (thus the forks).
Activity
[-]Unfork 'react/bridging/EventEmitter.h'[/-][+]Unfork 'react/bridging/EventEmitter.h', 'react/bridging/Function.h' and 'react/bridging/Base.h'[/+][-]Unfork 'react/bridging/EventEmitter.h', 'react/bridging/Function.h' and 'react/bridging/Base.h'[/-][+]Unfork 'react/bridging/*' header files[/+]chrisglein commentedon Jun 27, 2024
As is slated to be a permanent fork (not something waiting for an upstream change), related to our tools. Investigation into options for that happening while still not blocking the integration (thus the forks).
Yajur-Grover commentedon Dec 10, 2024
All of the forks except
Base.handBridging.hwere removed in the following PR: #14092Yajur-Grover commentedon Jan 15, 2025
The
Base.hfork has also been removed in the following integration: #14211