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

[CI] Build failed on windows server 2022 #476

Open ttruongatl opened 1 year ago

ttruongatl commented 1 year ago

Host system info [Github Action]

System:
    OS: Windows 10 10.0.20348
    CPU: (2) x64 Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
    Memory: 4.35 GB / 7.00 GB
  Binaries:
    Node: 16.19.0 - C:\hostedtoolcache\windows\node\16.19.0\x64\node.EXE
    Yarn: 1.22.19 - C:\npm\prefix\yarn.CMD
    npm: 8.19.3 - C:\hostedtoolcache\windows\node\16.19.0\x64\npm.CMD
  Managers:
    Cargo: 1.67.0 - ~\.cargo\bin\cargo.EXE
    Composer: 2.5.1 - c:\tools\php\composer.BAT
    Gradle: 7.6 - C:\ProgramData\Chocolatey\bin\gradle.EXE
    Maven: 3.8.7 - C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.7\bin\mvn.CMD
    pip3: 22.3.1 - C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts\pip3.EXE
    RubyGems: 3.2.33 - C:\hostedtoolcache\windows\Ruby\3.0.5\x64\bin\gem.CMD
  Utilities:
    Bazel: 6.0.0 - C:\npm\prefix\bazel.CMD
    CMake: 3.25.2 - C:\Program Files\CMake\bin\cmake.EXE
    Git: 2.39.1. - C:\Program Files\Git\bin\git.EXE
    Clang: 15.0.5 - C:\Program Files\LLVM\bin\clang.EXE
    Ninja: 1.10.2 - C:\ProgramData\Chocolatey\bin\ninja.EXE
    FFmpeg: 4.2.3 - C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\ffmpeg.EXE
  Virtualization:
    Docker: 20.10.23 - C:\Windows\system32\docker.EXE
  SDKs:
    Android SDK:
      API Levels: 27, 28, 29, 30, 31, 32, 33, 33
      Build Tools: 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.1, 28.0.2, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 33.0.0, 33.0.1
      Android NDK: 25.1.8937393
    Windows SDK:
      AllowDevelopmentWithoutDevLicense: Enabled
      Versions: 10.0.16299.0, 10.0.17763.0, 10.0.18362.0, 10.0.19041.0, 10.0.20348.0, 10.0.22000.0, 10.0.22621.0
  IDEs:
    Visual Studio: 17.4.33213.308 (Visual Studio Enterprise 2022)
  Languages:
    Bash: 5.2.[12](https://github.com/**/actions/runs/4093592901/jobs/7059140891#step:11:13) - C:\Program Files\Git\bin\bash.EXE
    Go: 1.17.[13](https://github.com/**/actions/runs/4093592901/jobs/7059140891#step:11:14) - C:\hostedtoolcache\windows\go\1.17.13\x64\bin\go.EXE
    Java: 1.8.0_362 - C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk\8.0.362-9\x64\bin\javac.EXE
    Perl: 5.32.1 - C:\Strawberry\perl\bin\perl.EXE
    PHP: 8.2.1 - c:\tools\php\php.EXE
    Python: 3.9.13 - C:\hostedtoolcache\windows\Python\3.9.13\x64\python.EXE
    Python3: 3.9.13 - C:\hostedtoolcache\windows\Python\3.9.13\x64\python3.EXE
    R: 4.2.2 - C:\Program Files\R\R-4.2.2\bin\x64\R.EXE
    Ruby: 3.0.5 - C:\hostedtoolcache\windows\Ruby\3.0.5\x64\bin\ruby.EXE
    Rust: 1.67.0 - C:\Users\runneradmin\.cargo\bin\rustc.EXE
  Databases:
    MongoDB: 5.0.[14](https://github.com/**/actions/runs/4093592901/jobs/7059140891#step:11:15) - C:\Program Files\MongoDB\Server\5.0\bin\mongo.EXE
    MySQL: undefined - C:\mysql\bin\mysql.EXE
  Browsers:
    Internet Explorer: 11.0.[20](https://github.com/**/actions/runs/4093592901/jobs/7059140891#step:11:21)[34](https://github.com/**/actions/runs/4093592901/jobs/7059140891#step:11:35)8.[38](https://github.com/**/actions/runs/4093592901/jobs/7059140891#step:11:39)0

React-native-picker: v2.4.8 React-native-windows: v0.71

Error message: Build failed with message ReactNativePicker.rc(10): fatal error RC1015: cannot open include file 'winres.h'. [**\*\node_modules\@react-native-picker\picker\windows\ReactNativePicker\ReactNativePicker.vcxproj]. Check your build configuration.

Any thoughts?