Laravel 5.4.* - The “” directory does not exist wh

2019-06-25 08:01发布

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?

1条回答
做自己的国王
2楼-- · 2019-06-25 08:34

I had this same issue and it turned out that I was not cloning the ./config directory because of a poorly defined .gitignore. So make sure the original project location was able to push that directory up and that it exists in the new location.

After the clone I re-ran composer install and it all worked.

查看更多
登录 后发表回答