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

[Bug]: Windows: Herd UI freezes and crashes with FATAL ERROR napi_throw

Aperta
#1,691 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
nginx, node.js, php
Ambito
desktop

Direzione di ricerca

Inizia riproducendo il crash di C:\Program Files\Herd\Herd.exe su Windows 11, quindi confronta lo stack trace di FATAL ERROR napi_throw con main.log. Il lavoro è completato quando Herd si avvia senza bloccarsi o andare in crash all'apertura di Sites, PHP, Node.js e delle sezioni inferiori del menu.

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

Descrizione

windows
Platform

Windows

Operating system version

Windows 11

System architecture

Windows

Herd Version

1.28.0

PHP Version

all versions

Bug description

I'm using Laravel Herd free on Windows.

Problem:
Herd starts, HerdHelper works, hosts file updates correctly, and the internal API responds at http://localhost:9001 with "Cannot GET /".

But the UI freezes when opening Sites, PHP, Node.js, or lower menu sections.

I already tried:

  • Clean reinstall
  • Empty Herd folder
  • Restarting HerdHelper
  • Running Herd as administrator

main.log does not show a clear fatal error. It shows PHP/NGINX/API starting correctly and hosts file being updated via HerdHelper.

When I run Herd from CMD:

C:\Program Files\Herd>Herd.exe

I get:

FATAL ERROR: Error::ThrowAsJavaScriptException napi_throw
[stack trace...]

This happens even without projects, so it does not seem related to Laravel projects, node_modules, vendor, or site count.

Steps to reproduce

Herd active but closed:

C:\Windows\System32>cd "C:\Program Files\Herd"
C:\Program Files\Herd>Herd.exe

C:\Program Files\Herd>
09:56:29.256 > Starting Herd...
FATAL ERROR: Error::ThrowAsJavaScriptException napi_throw
1: 00007FF7F4BC8506 node::SetTracingController+86134
2: 00007FF7F4BC8644 node::OnFatalError+276
3: 00007FF7F5396B20 napi_fatal_error+144
4: 00007FFE6F1219D7
5: 00007FFE6F121DA6
6: 00007FFE6F13ADC9
7: 00007FF7F5399603 node_api_get_module_file_name+1987
8: 00007FF7F52ACA3C uv_dlerror+71276
9: 00007FF7F52AC893 uv_dlerror+70851
10: 00007FF7F53BFA34 uv_fs_poll_getpath+1444
11: 00007FF7F4C4B2D0 uv_run+1888
12: 00007FF7F4C4AD6B uv_run+507
13: 00007FF7F4C1741C node::loader::ModuleWrap::Initialize+164380
14: 00007FF7F4C17D42 node::loader::ModuleWrap::Initialize+166722
15: 00007FF7F4C4340A node::FreeEnvironment+186
16: 00007FF7F2D7FE95 v8::Extension::auto_enable+981
17: 00007FF7F2CCBCD6 std::__Cr::vector<v8::CpuProfileDeoptFrame,std::__Cr::allocatorv8::CpuProfileDeoptFrame >::__alloc+75606
18: 00007FF7F3CC4254 uv_fs_get_path+118644
19: 00007FF7F3CC5EEE uv_fs_get_path+125966
20: 00007FF7F3CC10C0 uv_fs_get_path+105952
21: 00007FF7F2E8D582 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+541458
22: 00007FF7F2E8E924 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+546484
23: 00007FF7F2E8E6A4 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+545844
24: 00007FF7F2E8A9E0 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+530288
25: 00007FF7F2E8AB5D v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+530669
26: 00007FF7F2BCCBC5 std::__Cr::vector<v8::CpuProfileDeoptInfo,std::__Cr::allocatorv8::CpuProfileDeoptInfo >::vector<v8::CpuProfileDeoptInfo,std::__Cr::allocatorv8::CpuProfileDeoptInfo >+60933
27: 00007FF7F7268642 Cr_z_adler32+4755858
28: 00007FFF834CE8D7 BaseThreadInitThunk+23
29: 00007FFF84A8C3FC RtlUserThreadStart+44

Active herd and open visual interface:
C:\Windows\System32>cd "C:\Program Files\Herd"

C:\Program Files\Herd>Herd.exe

C:\Program Files\Herd>
09:56:29.256 > Starting Herd...
FATAL ERROR: Error::ThrowAsJavaScriptException napi_throw
1: 00007FF7F4BC8506 node::SetTracingController+86134
2: 00007FF7F4BC8644 node::OnFatalError+276
3: 00007FF7F5396B20 napi_fatal_error+144
4: 00007FFE6F1219D7
5: 00007FFE6F121DA6
6: 00007FFE6F13ADC9
7: 00007FF7F5399603 node_api_get_module_file_name+1987
8: 00007FF7F52ACA3C uv_dlerror+71276
9: 00007FF7F52AC893 uv_dlerror+70851
10: 00007FF7F53BFA34 uv_fs_poll_getpath+1444
11: 00007FF7F4C4B2D0 uv_run+1888
12: 00007FF7F4C4AD6B uv_run+507
13: 00007FF7F4C1741C node::loader::ModuleWrap::Initialize+164380
14: 00007FF7F4C17D42 node::loader::ModuleWrap::Initialize+166722
15: 00007FF7F4C4340A node::FreeEnvironment+186
16: 00007FF7F2D7FE95 v8::Extension::auto_enable+981
17: 00007FF7F2CCBCD6 std::__Cr::vector<v8::CpuProfileDeoptFrame,std::__Cr::allocatorv8::CpuProfileDeoptFrame >::__alloc+75606
18: 00007FF7F3CC4254 uv_fs_get_path+118644
19: 00007FF7F3CC5EEE uv_fs_get_path+125966
20: 00007FF7F3CC10C0 uv_fs_get_path+105952
21: 00007FF7F2E8D582 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+541458
22: 00007FF7F2E8E924 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+546484
23: 00007FF7F2E8E6A4 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+545844
24: 00007FF7F2E8A9E0 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+530288
25: 00007FF7F2E8AB5D v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+530669
26: 00007FF7F2BCCBC5 std::__Cr::vector<v8::CpuProfileDeoptInfo,std::__Cr::allocatorv8::CpuProfileDeoptInfo >::vector<v8::CpuProfileDeoptInfo,std::__Cr::allocatorv8::CpuProfileDeoptInfo >+60933
27: 00007FF7F7268642 Cr_z_adler32+4755858
28: 00007FFF834CE8D7 BaseThreadInitThunk+23
29: 00007FFF84A8C3FC RtlUserThreadStart+44

C:\Program Files\Herd>cd "C:\Program Files\Herd"

Relevant log output

Lingua principale
Nessun dato sulla lingua
Stelle
124
Fork
1
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 beyondcode/herd-community

Tutte le issue di beyondcode/herd-community

Issue simili

Altre issue su Desktop Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.