You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The executable generated by php artisan native:build linux only renders the generic "500 SERVER ERROR" page. php artisan native:serve renders the page correctly.
Changing APP_NAME in .env to anything other than "Laravel" bypasses the issue and the page renders correctly.
How to reproduce the bug
Fresh install of Laravel.
Fresh install of NativePHP.
Leave APP_NAME=Laravel in .env file.
Run php artisan native:build linux.
Run the executable.
Package Version
0.3.3
PHP Version
8.2.8
Laravel Version
10.17.1
Node Version
20.4.0
Which operating systems does with happen with?
Linux
Notes
Changing debug to true in config/app.php makes the executable generated by php artisan native:build linux work even with APP_NAME=Laravel, and it doesn't show any errors.
The text was updated successfully, but these errors were encountered:
@simonhamp
I've actually encountered that hot reloading doesn't work if the App name is Laravel. So there might be something to this.
Reproduction:
make a new project
add tailwind and add @vite to welcome.blade.php
npm run dev
php artisan native:serve
add any text or something to try hot reloading
With blade changes (html content) you must restart the dev server and css/js doesn't actually change unless you run npm run build.
If you change the app name suddenly everything works as intended.
What happened?
The executable generated by
php artisan native:build linux
only renders the generic "500 SERVER ERROR" page.php artisan native:serve
renders the page correctly.Changing
APP_NAME
in .env to anything other than "Laravel" bypasses the issue and the page renders correctly.How to reproduce the bug
Fresh install of Laravel.
Fresh install of NativePHP.
Leave APP_NAME=Laravel in .env file.
Run
php artisan native:build linux
.Run the executable.
Package Version
0.3.3
PHP Version
8.2.8
Laravel Version
10.17.1
Node Version
20.4.0
Which operating systems does with happen with?
Linux
Notes
Changing
debug
totrue
in config/app.php makes the executable generated byphp artisan native:build linux
work even withAPP_NAME=Laravel
, and it doesn't show any errors.The text was updated successfully, but these errors were encountered: