Description
After a clean react-native-windows@0.76 installation followed by the recommended installation for the native stack from the Getting Started guide, I get the following build error:
× Building Solution: C:\dev\RNWTests\node_modules\react-native-screens\windows\RNScreens\RNScreens.vcxproj(184,5...
× Build failed with message 7:10>C:\dev\RNWTests\node_modules\react-native-screens\windows\RNScreens\RNScreens.vcxproj(184,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is C:\dev\RNWTests\windows\packages\Microsoft.Windows.CppWinRT.2.0.200316.3\build\native\Microsoft.Windows.CppWinRT.props.. Check your build configuration.
Steps to reproduce
- install clean react-native@0.76
- install and init react-native-windows@0.76
- install
@react-navigation/native, react-native-screens, react-native-safe-area-context, @react-navigation/native-stack, @react-navigation/elements
- run
npx @react-native-community/cli run-windows
Snack or a link to a repository
https://github.com/pcprinz/react-native-windows-tests/tree/0.76-failing-native-stack
Screens version
4.3.0
React Native version
0.76.2
Platforms
Windows
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
Description
After a clean
react-native-windows@0.76installation followed by the recommended installation for the native stack from the Getting Started guide, I get the following build error:Steps to reproduce
@react-navigation/native,react-native-screens,react-native-safe-area-context,@react-navigation/native-stack,@react-navigation/elementsnpx @react-native-community/cli run-windowsSnack or a link to a repository
https://github.com/pcprinz/react-native-windows-tests/tree/0.76-failing-native-stack
Screens version
4.3.0
React Native version
0.76.2
Platforms
Windows
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes