-
-
Notifications
You must be signed in to change notification settings - Fork 6
Description
What were you trying to do?
I was trying to build and run my Laravel NativePHP app on Windows.
During development, the app runs perfectly using the dev server, but after building the .exe version, the application doesn’t start when opened.
What happened?
After building the app on Windows and installing it, the generated .exe file didn’t open.
When I double-click the file, nothing appears on screen — no window, no UI, no error message.
However, when I check Task Manager, the app is listed under Background processes and stays there indefinitely without actually launching.
How to reproduce the bug
Bug Report
Environment:
Laravel: 12
Livewire: 3
NativePHP: v2.0.2
OS: Windows 11
Description
During development, the app runs perfectly fine using the development server.
However, after building the app on Windows and installing it, the generated .exe file cannot be opened.
When I try to run the .exe, nothing happens on screen — the app doesn’t start or show any UI.
I waited for over an hour, but it never launched.
When I checked Task Manager, the app process was listed under Background processes, but it didn’t actually display any window or activity.
Steps to Reproduce
Create a NativePHP app using Laravel 12 + Livewire 3
Run native:build on Windows 11
Install and open the generated .exe
Observe that the app doesn’t start (stuck in background)
Expected Behavior
The built .exe should launch the app normally as it does during development.
Additional Info
No error logs appear in the console or log files.
Tried running as Administrator — still same result.
The issue only happens after build; development mode works fine.
Debug Output
NativePHP Debug Information
Operating System: Windows 11 Pro
Laravel Version: 12.x
Livewire Version: 3.x
NativePHP Version: v2.0.2
PHP Version: 8.3.x
Node Version: 20.x
NPM Version: 10.x
Environment Path: C:\Users<username>\Herd\laravel-app
Build Command Used: php artisan native:build win [all]
Build Result: Build completed successfully, installer generated without errors.
Issue:
After installing the generated .exe file, the application does not open.
When I try to launch it, nothing appears on the screen — but in Task Manager, the process is visible under Background processes and never shows the app window.
Which operating systems have you seen this occur on?
No response
Notes
No response