1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Can't run laravel with php artisan serve command

Discussão em 'Outras Linguagens' iniciado por Sadman Hossain, Outubro 15, 2024 às 20:12.

  1. [​IMG]

    ErrorException

    Undefined array key 1

    at vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:368 364▕ $line = str_replace(' ', ' ', $line); 365▕ 366▕ preg_match($regex, $line, $matches); 367▕ ➜ 368▕ return Carbon::createFromFormat('D M d H:i:s Y', $matches[1]); 369▕ } 370▕ 371▕ /** 372▕ * Get the request port from the given PHP server output.

    1 vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:368 Illuminate\Foundation\Bootstrap\HandleExceptions::Illuminate\Foundation\Bootstrap{closure}("Undefined array key 1", "C:\xampp\htdocs\lara app\p2\vendor\laravel\framework\src\Illu minate\Foundation\Console\ServeCommand.php")

    2 vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:297 Illuminate\Foundation\Console\ServeCommand::getDateFromLine("[Wed Oct 16 04:16:49 2024] 127.0.0.1:52784 Accepted")

    i completly reinstall the the xampp and composer but still getting this error

    Continue reading...

Compartilhe esta Página