Skip to content

Fails to build on a fresh ARM64 react native windows app #1022

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

Closed
1 of 5 tasks
jkoutavas opened this issue Oct 31, 2023 · 2 comments · Fixed by #1031
Closed
1 of 5 tasks

Fails to build on a fresh ARM64 react native windows app #1022

jkoutavas opened this issue Oct 31, 2023 · 2 comments · Fixed by #1031
Labels
bug Something isn't working released

Comments

@jkoutavas
Copy link

jkoutavas commented Oct 31, 2023

What happened?

What's all this then?

 × Building Solution: C:\Users\jay\.nuget\packages\microsoft.ui.xaml\2.8.0\build\Common.targets(10,5): error : Mi...
 × Build failed with message C:\Users\jay\.nuget\packages\microsoft.ui.xaml\2.8.0\build\Common.targets(10,5): error : Microsoft.UI.Xaml nuget package requires TargetPlatformMinVersion >= 10.0.17763.0 (current project is 16299) [C:\Users\jay\dev\RNWindows\node_modules\@react-native-async-storage\async-storage\windows\ReactNativeAsyncStorage\ReactNativeAsyncStorage.vcxproj]. Check your build configuration.
Command failed. Re-run the command with --logging for more information.

I generated a fresh "RNWindows" app this morning, doing the following:

npx react-native init RNWindows --version "latest"
cd RNWindows
npx react-native-windows-init --overwrite
yarn add @react-native-async-storage/async-storage
npx react-native run-windows --arch arm64

Version

1.19.3

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

info Fetching system and libraries information...
System:
  OS: Windows 10 10.0.22621
  CPU: (4) x64 Apple Silicon
  Memory: 3.38 GB / 7.99 GB
Binaries:
  Node:
    version: 18.16.1
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.19
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 9.7.2
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.18362.0
      - 10.0.19041.0
      - 10.0.22000.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.6.33815.320 (Visual Studio Community 2022)
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.6
    wanted: 0.72.6
  react-native-windows:
    installed: 0.72.17
    wanted: 0.72.17
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Steps to Reproduce

On a Windows 10 machine (I use Parallels running on my Apple Silicon MacBook Pro):

npx react-native init RNWindows --version "latest"
cd RNWindows
npx react-native-windows-init --overwrite
yarn add @react-native-async-storage/async-storage
npx react-native run-windows --arch arm64
@tido64
Copy link
Member

tido64 commented Nov 22, 2023

Hi, if you're able to, can you give this a go and let us know if it fixes the issue: #1031

@AsyncStorageBot
Copy link
Collaborator

🎉 This issue has been resolved in version 1.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
3 participants