Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Example does not work on windows and the slider renders nothing.

オープン
#618 コメント 6 件 リアクション 0 件 担当者 1 名 GitHub で見る

@BartoszKlonowski がすでに取り組んでいます。

2024年8月27日 から。

評価

この issue はまだ評価されていません。

説明

bug report platform: Windows

Environment

Windows 11 23H2

react-native info output

// react-native info
System:
  OS: Windows 11 10.0.22631
  CPU: (20) x64 Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz
  Memory: 58.85 GB / 95.71 GB
Binaries:
  Node:
    version: 20.12.2
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.19
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 10.5.0
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.17763.0
      - 10.0.18362.0
      - 10.0.19041.0
      - 10.0.22000.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.10.35027.167 (Visual Studio Enterprise 2022)
    - 15.9.34930.103 (Visual Studio Enterprise 2017)
    - 16.11.34931.43 (Visual Studio Enterprise 2019)
Languages:
  Java: 11.0.1
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.5
    wanted: 0.73.5
  react-native-windows:
    installed: 0.73.11
    wanted: 0.73.11
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found
  • are you using the new architecture?
    no

  • which version of react & react-native are you using?

    "react": "18.2.0",
    "react-native": "0.73.5",

Description

I noticed that the slider renders nothing on Windows after upgrading to 4.5.2. It works on version 4.4.2.

Then I try to use the example app to see if it's my setup causing the problem.

But the example app does not work on Windows. I follow the readme to run example app and it throws error "RNCViewPager" was not found in the UIManager.. It seems react native view pager fails to autolink in RNW. So I went ahead and delete the references related to the view pager since I was just testing slider itself. This time the app runs, but the slider renders nothing, no handle to grab and no track to see.

I start example app by:
cloning the repo -> npm install -> npm run example-windows.

Reproducible Demo

Just run example app in Windows 11.

主要言語
TypeScript
スター
1.4k
フォーク
295
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstack/react-native-slider のほかの issue

callstack/react-native-slider の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。