Solution not building with New Arch on Windows #2637
Labels
Platform: Windows
This issue is specific to Windows
Repro provided
A reproduction with a snack or repo is provided
Description
After creating a new React Native with Windows project using the new arch with the cpp-app template on Windows, after adding RNScreens, the solution doesn't build for Windows. The error is:
Building Solution: XamlLibMetadataProvider.g.cpp... ✖ Build failed with message C:\Users\joshh\coding_bootcamp\projects\zonal\rnScreenTest\node_modules\react-native\ReactCommon\react\runtime\ReactInstance.cpp(205,21): error C2511: 'void facebook::react::ReactInstance::loadScript(std::unique_ptr<const facebook::react::JSBigString,std::default_delete<const facebook::react::JSBigString>>,const std::string &)': overloaded member function not found in 'facebook::react::ReactInstance' [C:\Users\joshh\coding_bootcamp\projects\zonal\rnScreenTest\node_modules\react-native-windows\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj]. Check your build configuration.
Using "react-native-windows": "^0.76.0"
Steps to reproduce
Snack or a link to a repository
https://github.com/joshholmes22/rnScreens-windows
Screens version
4.5.0
React Native version
0.76.6
Platforms
Windows
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
Real device
Device model
Windows PC
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: