Wednesday, February 11, 2015

[Laravel][Resolved] Could not open input file: artisan , windows platfat (with images)

After created a Laravel project and wanted to make a migration.
I got this error message



Could not open input file: artisan

I found I have performed the migration at incorrect directory, I should run the command at my laravel project root. for an example, my laravel project was located at "C:\wamp\www\laravel\laravelsample5", then I need to move to root of my project “laravelsample5” and then run migration

you can run
cd "your_project_path"
“php artisan your_artisan commands

For my case:
cd "C:\wamp\www\laravel\laravelsample5"
“php artisan migrate

* *
Result when performed the migration at project root:





Reference:
http://stackoverflow.com/questions/26193314/could-not-open-input-file-artisan

No comments :

Post a Comment