-
Notifications
You must be signed in to change notification settings - Fork 276
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
Installation not working #286
Comments
Hey @sixtusagbo, What operating system are you running the |
Windows 10 Version 22H2 (OS Build 19045.3448) |
Thanks @sixtusagbo, Are you able to give me the results of this command:
(I'm not sure if it should be |
Just php is okay, anyone can work. I use mingw on bash. |
I've had the same issue as @sixtusagbo mentioned. |
Hi @iyefreedy, Not yet. Could you please tell me your operating system and the result of running the command from #286 (comment). |
Thanks both! I'm struggling to figure out what's going on here. The code that triggers that error should only execute if I'm just setting up a Windows machine to try to replicate this. |
@iyefreedy are you also using mingw on bash? Or something different? |
I've replicated the issue. Very strange behaviour. The Take the following #!/usr/bin/env PHP
<?php
var_dump(stream_isatty(STDIN)); And note the different result depending on how you execute it: $ php test.php
bool(true)
$ ./test.php
bool(false) While I look into this, you can run the installer with the laravel new example-app -n |
This is caused by mintty and its use of a pipe instead of a TTY.
I can't find a reliable way to detect whether The easiest solution for the time being is probably just to make the fallback mode take priority over the non-interactive mode. An alternative would be to force interactive mode when |
Try again all? |
I have same error in Mac |
Installer Version
5.1.2
Description
The installation is not even starting at all. I'm getting this error:
Steps To Reproduce
composer global require laravel/installer
laravel new namodin
The text was updated successfully, but these errors were encountered: