Ad

Laravel Installed But Nothing Inside The Folder

- 1 answer

I ran following 3 sets of command in order to install laravel via command prompt :

1) composer

2) cd D:\xampp\htdocs\Laravel

3) composer create-project --prefer-dist laravel/laravel Laravel

It said that the download was successful , but when i opened the laravel folder , it is empty. So, i tried reinstalling it but it showed as below :

[InvalidArgumentException] Project directory Laravel/ is not empty.

Any help on this ?

Ad

Answer

You should run:

composer dump-autoload

and if does not work you should:

re-install composer and composer create-project --prefer-dist laravel/laravel blog "5.8.*"

Ad
source: stackoverflow.com
Ad