Laravel 5.4.* - The "" directory does not exist when running artisan

Viewed 9239

I have a fresh installation of Ubuntu Server 14.04 in which I'm currently trying to install my Laravel project on.

I have moved the entire repository into the folder required, but when I run the command

php artisan

within that directory, the terminal returns an error stating

[InvalidArgumentException]

The "" directory does not exist.

Does anyone know what I can possibly do to solve this issue?

3 Answers

I had been facing the same issue and I found that there was an empty folder in Module Directory. I had just deleted that Module Directory and again started with new Module Directory and it had solved the problem.

Same issue, resolved it by running php artisan config:cache

Related