[英]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.