react-native-picker / picker

Picker is a cross-platform UI component for selecting an item from a list of options.
MIT License
1.45k stars 273 forks source link

Xaml nuget package version issue (react native windows) #488

Open jmurp opened 1 year ago

jmurp commented 1 year ago

create a default react-native-windows project yarn add @react-native-picker/picker (current version is 2.4.0) npx react-native run-windows ->

build fails indicating missing nuget package file (Xaml 2.7.0) required by react-native-picker even though packages.config details Xaml 2.3....

tried nuget package restore with no success

I had to manually update the nuget package for react-native-picker to 2.7.0 to get it to build.


npx react-native info System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel(R) Xeon(R) W-2225 CPU @ 4.10GHz Memory: 21.33 GB / 31.69 GB Binaries: Node: 18.15.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD npm: 9.5.0 - 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.5.33516.290 (Visual Studio Community 2022) Languages: Java: 17.0.6 - C:\Program Files\Eclipse Adoptium\jdk-17.0.6.10-hotspot\bin\javac.EXE npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.6 => 0.71.6 react-native-windows: 0.71.6 => 0.71.6 npmGlobalPackages: react-native: Not Found

widavies commented 6 months ago

Same issue here