Could not open input file: artisan

后端 未结 27 1128
清歌不尽
清歌不尽 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:12

    First create the project from the following link to create larave 7 project: Create Project

    Now you need to enter your project folder using the following command:

    cd myproject
    

    Now try to run artisan command, such as, php artisan.

    Or it may happen if you didn't install compose. So if you didn't install composer then run composer install and try again artisan command.

提交回复
热议问题