Could not open input file: artisan

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

    Try executing it as sudo.

    sudo laravel new blog

    Your file may not have the appropriate permissions. Let us know if it worked!

提交回复
热议问题