Daily Archive: January 24, 2022

执行数据填充成功后,访问 /graphql 并尝试以下的查询。获取到数据库中所有 posts 的列表,以及全部 comments 和 user 的 name。符合预期 0

Getting Started with Building a GraphQL Server with Lighthouse, Create a GraphQL API for a Simple Blog from scratch

浏览量: 15 1. Get started with the GraphQL server with Lighthouse. Reference URL:https://lighthouse-php.cn/tutorial/ 2. Create a GraphQL API for a simple blog from scratch. Create a new Laravel project via Composer: lighthouse-tutorial 3. Create...

执行 composer require 时,报错:[Composer\Downloader\TransportException] curl error 6 while downloading https://api/v4/projects/%2Fnova: Could not resolve host: api 0

When executing composer require, an error is reported:[Composer\Downloader\TransportException]Curl Error 6 while downloadinghttps://api/v4/projects/%2Fnova:Could not resolve host: API

浏览量: 17 1. When executing composer require, an error is reported:[Composer\Downloader\TransportException]Curl Error 6 while downloadinghttps://api/v4/projects/%2Fnova:Could not resolve host: API . as shown in Figure 1 2. Check the composer.json file, which contains nova-related configuration...

在 Laravel 6 中,执行命令:php artisan telescope:publish,报错:Unable to locate publishable resources. Publishing complete 0

In Laravel 6, execute the command: php artisan telescope:publish, error: Unable to local publishable resources. Publishing complete

浏览量: 17 1. In Laravel 6, execute the command: php artisan telescope:publish, report an error: Unable to local publishable resources. Publishing complete. as shown in Figure 1 2. Check composer.json, laravel/teleScope exists in require-dev....