Could not open input file: artisan

后端 未结 27 1162
清歌不尽
清歌不尽 2020-11-30 17:45

When trying to create a new laravel project, The following error appears on the CLI:

Could not open input file: artisan

Script php artisan clear-c

27条回答
  •  余生分开走
    2020-11-30 18:24

    -> cd ..

    -> cd project_dir

    -> php artisan ('works fine')

    in my case, i removed the directory and again clone the repo from the same directory through terminal. then i went one step back and step into my project folder again and the problem was gone.

提交回复
热议问题