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

UnhandledPromiseRejectionWarning: no such file or directory, uv_cwd

Aperta
#90 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, node.js
Ambito
backend

Direzione di ricerca

Start by reading the linked serve issue and its referenced comment to understand the workflow that produces the uv_cwd error. Then locate the serve-handler error path that lets the unhandled rejection reach the browser. Done means the failure produces a user-facing message and exits gracefully instead of throwing and leaving the browser hanging.

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

Descrizione

Following https://github.com/zeit/serve/issues/536

As I explain in this comment, IMO it's not a legit way of using serve, as it's a workflow that even will cause an error in bash.

But still, I think we can handle the error, show a message to the user, and exit gracefully, because right now an exception is thrown and the browser just hangs.

Lingua principale
JavaScript
Stelle
617
Fork
119
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 vercel/serve-handler

Tutte le issue di vercel/serve-handler

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.