react / react/react-native

[0.85.3] React Native DevTools not working

Aperta
#56,714 14 commenti 11 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Debugging Needs: Attention Needs: Repro
Lingua principale
C++
Stelle
127k
Fork
25.3k
Merge medio
1g 23h
PR unite (30g)
4

Descrizione

Description

React Native DevTools is not working after updating the react-native version to 0.85.3

Steps to reproduce
  1. Install the application with npm run android
  2. Press j to open the debugger
  3. The debugger shows empty screen

Example: https://github.com/rnkdsh/react-navigation-example

React Native Version

0.85.3

Output of npx @react-native-community/cli info
System:
  OS: Windows 11 10.0.26200
  CPU: (28) x64 Intel(R) Core(TM) i7-14700K
  Memory: 3.67 GB / 31.69 GB
Binaries:
  Node:
    version: 26.0.0
    path: C:\Users\ronak\AppData\Local\fnm_multishells\32268_1778138217881\node.EXE
  Yarn: Not Found
  npm:
    version: 11.12.1
    path: C:\Users\ronak\AppData\Local\fnm_multishells\32268_1778138217881\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "25"
      - "34"
      - "35"
      - "36"
      - "36"
      - "37"
    Build Tools:
      - 34.0.0
      - 35.0.0
      - 36.0.0
      - 36.1.0
      - 37.0.0
    System Images:
      - android-25 | Google Play Intel x86 Atom
      - android-28 | Google Play Intel x86 Atom
      - android-33 | Google Play Intel x86_64 Atom
      - android-34 | Google APIs Intel x86_64 Atom
      - android-35 | Google Play Intel x86_64 Atom
      - android-36.1 | Google Play Intel x86_64 Atom
      - android-36 | Google Play Intel x86_64 Atom
      - android-37.0 | Pre-Release 16 KB Page Size Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-253.32098.37.2534.15336583
  Visual Studio: Not Found
Languages:
  Java:
    version: 17.0.11
    path: C:\Program Files\Microsoft\jdk-17.0.11.9-hotspot\bin\javac.EXE
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 20.1.3
    wanted: 20.1.3
  react:
    installed: 19.2.3
    wanted: 19.2.3
  react-native:
    installed: 0.85.3
    wanted: 0.85.3
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found
Screenshots and Videos
Image

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproduci il problema nell'esempio collegato di react-navigation con React Native 0.85.3: esegui npm run android, premi j e conferma che il debugger sia vuoto. Confronta questo comportamento con una versione o configurazione funzionante di React Native, quindi verifica che React Native DevTools mostri il contenuto previsto su Windows 11 con Hermes e la nuova architettura abilitati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, javascript, react-native
Ambito
devtools, mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.