-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php artisan native:serve
hangs (Windows 11)
#301
Comments
This bug is puzzling. It was fine yesterday in the same setup you have. But as soon as I ran "php artisan native:build", it stopped working. Strangely, the build works perfectly, but in development, it doesn't open at all! it's stuck on this part Starting NativePHP dev server… Fetching latest dependencies… Installing NPM dependencies (This may take a while)... Installing NPM dependencies using the npm package manager... Fetching latest dependencies… Starting NativePHP app Running the dev script with npm... Fetching latest dependencies… and the error log has the following only which exists also yesterday |
It seems to be related with #300, the message is the same, but mine appears in dev console |
@Stridesdata are you running the command from Command Prompt or PowerShell? Are you running directly on Windows and not via some virtualised environment like a Docker container or WSL2? Please try running commands with the |
@NawrasBukhari I believe your issue is related to #300 as @avazquez-bit says. Please can you pick up your conversation there? |
php artisan native:serve
hangs (Windows 11)
I solve this by checking the laravel.log and fixing those error that occurs their. |
Closing as a duplicate of #300 |
What were you trying to do?
I have an existing web app
Laravel 10
Livewire 2.5
php 8.1
windows 11
I installed, and when I run the server command I get stuck indefinitely in
Starting NativePHP app
Running the dev script with npm...
Fetching latest dependencies…
What happened?
The native server was meant to run
How to reproduce the bug
It might be only specific to me
Package Versions
0.6.3
PHP Version
8.1.8
Laravel Version
10.48.0
Node Version
20.11.1
Which operating systems have you seen this occur on?
Windows
OS version
win 11 (22H2)
Notes
Can we get it to work?
The text was updated successfully, but these errors were encountered: