[Bug]: Windows: Herd UI freezes and crashes with FATAL ERROR napi_throw
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
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
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di beyondcode/herd-community
-
[Bug]: PHP 8.3 php.ini missing auto_prepend_file and herd-ext extension lines (dump() undefined)ApertamacOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
beyondcode/herd-community#1693 ·
-
macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
beyondcode/herd-community#1602 ·
-
[Bug]: 1.30.2 creates PHP 8.2 config and ~/.zshrc lines on every start, although 8.2 isn't installedApertafixed-in-next-release macOS
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
beyondcode/herd-community#1763 · 2 commenti ·
-
fixed-in-next-release macOS
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
beyondcode/herd-community#1760 ·
-
macOS
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
beyondcode/herd-community#1755 ·
Tutte le issue di beyondcode/herd-community
Issue simili
-
kind/feature triage/accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
projectbluefin/dakota#1773 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
onionshare/onionshare#2127 ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Custom sidebars in the right sidebar get an empty groups listForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaarea: sidebar bug S2: major
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
manaflow-ai/cmux#20281 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 70/100
flathub/com.viber.Viber#125 ·