jeudi 2 mai 2019

How to fix 'ErrorException : chdir(): No such file or directory (errno 2)'

hi i have problem with command 'php artisan serve' i use xampp and laravel 5 when i am trying to run 'php artisan serve' i get this error:

C:\xampp\htdocs\ClashProject\laravel>php artisan serve

ErrorException : chdir(): No such file or directory (errno 2)

at C:\xampp\htdocs\ClashProject\laravel\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:42 38| * @throws \Exception 39| */ 40| public function handle() 41| {

42| chdir(public_path()); 43| 44| $this->line("Laravel development server started: http://{$this-host()}:{$this->port()}>"); 45| 46| passthru($this->serverCommand(), $status);

Exception trace:

1 chdir("C:\xampp\htdocs\ClashProject\laravel\public") C:\xampp\htdocs\ClashProject\laravel\vendor\laravel\framework\src\Illuminate\Foundation\Console\ServeCommand.php:42

2 Illuminate\Foundation\Console\ServeCommand::handle() C:\xampp\htdocs\ClashProject\laravel\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:32

Please use the argument -v to see more details.

whats wrong???



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2LlcMtU
via IFTTT

Aucun commentaire:

Enregistrer un commentaire