0

Creating new laravel project and this error came up

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

enter image description here

  • [ErrorException] chdir(): No such file or directory (errno 2) – Mohammad Jafari Dec 08 '20 at 08:28
  • Does this help: [laravel5: chdir(): No such file or directory (errno 2)](https://stackoverflow.com/questions/30873773/laravel5-chdir-no-such-file-or-directory-errno-2) – bhucho Dec 08 '20 at 08:57

1 Answers1

0

it means that your Laravel Application Can't Find the public folder.

I got it to work by

changing :

chdir($this->laravel->publicPath());

In:

vendor/laravel/framework/src/Illuminate/Foundation/Console/ServeCommand.php

To:

chdir('/');