-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[9.x] Fixes Artisan serve
command on Windows
#43437
Conversation
I hope some day we will have env independent constant in PHP for |
This seems to have broken the serve command for me.
|
Can you elaborate? |
Sorry, this isn't actually the right PR. Stock laravel install with Nova4 and trying to use I ended up forceably downgrading to 9.20.0 to get my serve command working |
You also have the issue using the latest version of Laravel? If yes, can you share the exact command with me? |
Yeah, same issue on latest 9.x most recently updated:
|
I have the same issue on Laravel version
The problem does not occur when there is no custom serve command, but if the same settings are set manually on the terminal command I can create two (maybe) different versions of the error. One has the error I hope it helps the debugging. |
Working on this - should be ready today. |
@nicolaibaaring @JohnRoux can you test the contents of this pull request in your project? #43461. |
Hey, confirmed that it's working for me 🚀 I swapped out my laravel/framework in composer for this
And it doesn't have the serve problem on either of the two app's which 9.* currently breaks on |
Waiting for your @nicolaibaaring feedback now. |
That also works on my side. I've tested on two projects too. Thanks for your efforts. |
This pull request fixes the
serve
command when being used on Windows.Fixes #43433.