[英]laravel-graphql php artisan command 'Could not open input file: make:graphql:type'
我去过laravel项目文件夹。 当然,我可以运行其他php artisan
命令。
这是我的命令行:
$ php7 artisan
Laravel Framework 5.7.9
Usage:
command [options] [arguments]
...
make
....
make:graphql:mutation Create a new GraphQL mutation class
make:graphql:query Create a new GraphQL query class
make:graphql:type Create a new GraphQL type class
... // other command hide here
$ php7 make:graphql:type Meta
Could not open input file: make:graphql:type
我确定我是在laravel项目下进行的,其他工匠的命令也可以工作
l在composer composer7 require 'folklore/graphql'
安装了laravel-graphql, composer7 require 'folklore/graphql'
版本为1.10的composer7 require 'folklore/graphql'
您需要在输入中包含artisan命令
php artisan make:graphql:type Meta
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.