Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: nodeDB reference undefined in telemetry subscription — crashes on deviceMetrics packet

Aperta
#1,269 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Start at apps/web/src/core/subscriptions.ts:44 and inspect the deviceMetrics branch and the surrounding comments about ownership moving to the SDK. Check whether the SDK already handles these packets before choosing among the alternatives in the issue. Done means incoming deviceMetrics packets no longer throw ReferenceError and the intended metrics handling is preserved.

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

Descrizione

bug stale

apps/web/src/core/subscriptions.ts:44 calls nodeDB.addDeviceMetrics(...) but nodeDB is never imported or defined in the module. Any incoming deviceMetrics telemetry packet throws ReferenceError: nodeDB is not defined.

Either restore the intended import, route to the SDK NodesClient (as the surrounding comments suggest ownership moved there), or delete the branch if the SDK already handles it.

Lingua principale
TypeScript
Stelle
861
Fork
316
Merge medio
18m
PR unite (30g)
1

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna 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.

Altre issue di meshtastic/web

Tutte le issue di meshtastic/web

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.