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

[JS] Build on Vercel for @apache-arrow/ts fails

Aperta
#76 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #38892 di @j-baker — chiusa senza merge

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript

Direzione di ricerca

Inizia in ipc/reader.ts alla riga 116 e ispeziona il tipo restituito previsto da streamAdapters.toDOMStream. Esegui npm run build per riprodurre l’errore TypeScript, quindi verifica che il pacchetto venga compilato correttamente per un deployment Vercel senza l’errore implicit-any.

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

Descrizione

Type: bug
Describe the bug, including details regarding any error messages, version, and platform.

When trying to deploy an application to Vercel containing @apache-arrow/ts, I receive the following error message:

22:25:40.719 |  
22:25:40.719 | ./node_modules/@apache-arrow/ts/ipc/reader.ts:116:12
22:25:40.719 | Type error: 'toDOMStream' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
22:25:40.719 |  
22:25:40.719 | 114 \|         return (<AsyncIterableIterator<RecordBatch<T>>>this._impl)[Symbol.asyncIterator]();
22:25:40.719 | 115 \|     }
22:25:40.719 | > 116 \|     public toDOMStream() {
22:25:40.719 | \|            ^
22:25:40.719 | 117 \|         return streamAdapters.toDOMStream<RecordBatch<T>>(
22:25:40.720 | 118 \|             (this.isSync()
22:25:40.720 | 119 \|                 ? { [Symbol.iterator]: () => this } as Iterable<RecordBatch<T>>
22:25:41.308 | Error: Command "npm run build" exited with 1

I'm unsure how I can fix this personally. Thanks for any hints!

Component(s)

JavaScript

Lingua principale
TypeScript
Stelle
112
Fork
23
Merge medio
1g 4h
PR unite (30g)
13

Preparare l'ambiente

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 apache/arrow-js

Tutte le issue di apache/arrow-js

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.