mardi 15 mars 2022

Error msg Symfony\Component\Process\Exception\RuntimeException TTY mode is not supported on Windows platform

Hi guys I have been having various error messages with my laravel installation. Basically, These errors occur mostly when I run commands related to Database. The below error msg occurred after I ran the "PHP artisan DB" command. Another command that triggers another type of error is "PHP artisan DB:seed.

And help will be helpful

Symfony\Component\Process\Exception\RuntimeException

TTY mode is not supported on Windows platform.

at D:\LARAVEL PROJECT 1\laravel-api\vendor\symfony\process\Process.php:1059 1055▕ */ 1056▕ public function setTty(bool $tty) 1057▕ { 1058▕ if ('\' === \DIRECTORY_SEPARATOR && $tty) { ➜ 1059▕ throw new RuntimeException('TTY mode is not supported on Windows platform.'); 1060▕ } 1061▕ 1062▕ if ($tty && !self::isTtySupported()) { 1063▕ throw new RuntimeException('TTY mode requires /dev/tty to be read/writable.');

1 D:\LARAVEL PROJECT 1\laravel-api\vendor\laravel\framework\src\Illuminate\Database\Console\DbCommand.php:41 Symfony\Component\Process\Process::setTty()

2 D:\LARAVEL PROJECT 1\laravel-api\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:36 Illuminate\Database\Console\DbCommand::handle() PS D:\LARAVEL PROJECT 1\laravel-api>



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/P203XFx
via IFTTT

Aucun commentaire:

Enregistrer un commentaire