Skip to content
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

[5.x] Fixes issue if there is no herd or valet installed #343

Merged
merged 3 commits into from
May 31, 2024

Conversation

xiCO2k
Copy link
Contributor

@xiCO2k xiCO2k commented May 31, 2024

This PR fixes the issue #342.

I could not replicate on my machine but based on the error information provided by @Anticom, catching the ProcessStartFailedException it should solve.

Cheers.

@xiCO2k xiCO2k force-pushed the fix/herd-or-valet-not-found branch from 656e86e to 466a710 Compare May 31, 2024 10:01
@xiCO2k
Copy link
Contributor Author

xiCO2k commented May 31, 2024

@Anticom can you check if this PR solved it?

Thanks.

src/NewCommand.php Outdated Show resolved Hide resolved
@driesvints driesvints changed the title [1.x] Fixes issue if there is no herd or valet installed. [1.x] Fixes issue if there is no herd or valet installed May 31, 2024
@Anticom
Copy link

Anticom commented May 31, 2024

@Anticom can you check if this PR solved it?

Thanks.

I'm getting promted for a password now multiple times? Is this normal in 5.x branch of installer?

First was after setting app key:

   INFO  Application key set successfully.

second time after:

   INFO  Application ready in [foo]. You can start your local development using:

All I did to check out your MR was cloning your fork into ~/.composer/vendor/laravel/installer and checking out your branch.

@xiCO2k
Copy link
Contributor Author

xiCO2k commented May 31, 2024

@Anticom can you check if this PR solved it?
Thanks.

I'm getting promted for a password now multiple times? Is this normal in 5.x branch of installer?

First was after setting app key:

   INFO  Application key set successfully.

second time after:

   INFO  Application ready in [foo]. You can start your local development using:

All I did to check out your MR was cloning your fork into ~/.composer/vendor/laravel/installer and checking out your branch.

Nice! the password prompts does not seem related with this.

Thanks for checking it out.

@Anticom
Copy link

Anticom commented May 31, 2024

Yeah I figured it probably has nothing to do with the changes you made to fix the issue. I'll keep you posted once the fix is released.

@xiCO2k
Is there any chance we can get a 5.8.2 today? 🙂

@xiCO2k xiCO2k changed the title [1.x] Fixes issue if there is no herd or valet installed [5.x] Fixes issue if there is no herd or valet installed May 31, 2024
@taylorotwell taylorotwell merged commit 8ec6dbd into laravel:master May 31, 2024
10 checks passed
@xiCO2k xiCO2k deleted the fix/herd-or-valet-not-found branch May 31, 2024 17:02
@rjindael
Copy link

rjindael commented Jun 1, 2024

Would love if this could be pushed to a new version 5.8.2, this currently breaks the Laravel installer entirely on WSL2 :/

@driesvints
Copy link
Member

I just published a new release for this one.

@Anticom
Copy link

Anticom commented Jun 2, 2024

I updated using composer and am still getting promted for password.

@xiCO2k
Copy link
Contributor Author

xiCO2k commented Jun 2, 2024

Ok but that worked without any error?

@Anticom
Copy link

Anticom commented Jun 4, 2024

@xiCO2k well if I enter the password correctly, it works as expected w/o any errors.

Maybe @rjindael can dis-/confirm the issue with the password promts?

@rjindael
Copy link

rjindael commented Jun 5, 2024

@xiCO2k well if I enter the password correctly, it works as expected w/o any errors.

Maybe @rjindael can dis-/confirm the issue with the password promts?

I think my original reply was worded incorrectly , what I had meant was that this PR did solve #342 and that it should be merged as the issue described in #342 currently causes the installer on WSL2 to not work at all

@xiCO2k
Copy link
Contributor Author

xiCO2k commented Jun 5, 2024

@rjindael can you create an issue with the error you are getting?

Thanks.

@rjindael
Copy link

rjindael commented Jun 5, 2024

@rjindael can you create an issue with the error you are getting?

Thanks.

Sorry, I think I was not clear, I am not experiencing any issues now, only previously did before this PR was merged. 🙂

@Anticom
Copy link

Anticom commented Jun 6, 2024

@rjindael So you're not getting promted for passwords during execution of laravel new ... ?

@rjindael
Copy link

rjindael commented Jun 7, 2024

@rjindael So you're not getting promted for passwords during execution of laravel new ... ?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants