Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Stack is not working with [email protected] #2541

Open
pcprinz opened this issue Nov 26, 2024 · 2 comments
Open

Native Stack is not working with [email protected] #2541

pcprinz opened this issue Nov 26, 2024 · 2 comments
Labels
Platform: Windows This issue is specific to Windows Repro provided A reproduction with a snack or repo is provided

Comments

@pcprinz
Copy link

pcprinz commented Nov 26, 2024

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

  1. install clean [email protected]
  2. install and init [email protected]
  3. install @react-navigation/native, react-native-screens, react-native-safe-area-context, @react-navigation/native-stack, @react-navigation/elements
  4. 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

@github-actions github-actions bot added Repro provided A reproduction with a snack or repo is provided Platform: Windows This issue is specific to Windows labels Nov 26, 2024
@kkafar
Copy link
Member

kkafar commented Dec 11, 2024

Thanks for reporting! Noted. I'll try to get someone to look into this.

@dppo
Copy link

dppo commented Dec 12, 2024

It works fine using 4.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Windows This issue is specific to Windows Repro provided A reproduction with a snack or repo is provided
Projects
None yet
Development

No branches or pull requests

3 participants