Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

laravel new; application already exists error

I have installed Laravel before and I deleted that folder, and now after several months I install Laravel installer but when I write the command laravel new in Windows Powershell it returns this error.

 _                               _
| |                             | |
| |     __ _ _ __ __ ___   _____| |
| |    / _` | '__/ _` \ \ / / _ \ |
| |___| (_| | | | (_| |\ V /  __/ |
|______\__,_|_|  \__,_| \_/ \___|_|


In NewCommand.php line 153:

  Application already exists!


new [--dev] [--jet] [-f|--force] [--] [<name>]
like image 977
Seyed Mahdi Mousavi Jalal Avatar asked Sep 03 '20 22:09

Seyed Mahdi Mousavi Jalal


1 Answers

I created project. But I deleted it. When I create project again with the same name, I encountered this problem. After, I runned this command:

laravel new project-name --force

Only, I added --force end of command.

like image 134
kadirerman Avatar answered Sep 28 '22 02:09

kadirerman