-
-
Notifications
You must be signed in to change notification settings - Fork 606
Description
Description
After a clean [email protected] 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 [email protected]
- install and init [email protected]
- 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