Skip to content
Advertisement

laravel Could not open input file: artisan (5.3)

I’m new to Laravel ad i have just created new project using official laravel documentation.

After installing when i run php artisan migrate it will showing

Could not open input file: artisan error in console

Listing of commands that i run

  1. composer create-project –prefer-dist laravel/laravel laravelDemo

    which will create new folder laravelDemo

  2. cd laravelDemo

  3. php artisan migrate

I’m using Ubuntu 16.04

I have already checked possible duplicate answer but i have installed it throw composer.

Please help Thanks in Advance 🙂

Advertisement

Answer

Not figure out what actual problem is but what i did is deleted laravelDemo folder and run above command and it worked.

i have also tried composer update –no-scripts which will updated all the composer dependencies successfully.

May be there were some issue in installing the project.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement