Year: 2022
-
Post Views: 18 1. Reference:https://shopify.dev/api/admin-graphql#authentication, all GraphQL Admin API queries require a valid Shopify access token. 2. Open the background – Apps – Develop applications – Create custom apps. as shown in Figure 1 3. Enter the application name, select the application developer, and create the application. as shown in Figure 2 4. Configure the background API range. as shown…
-
Post Views: 15 1. When writing the automated test cases of Lighthouse 5, phpstorm cannot be completed automatically. When you click $response->assetJSON, you cannot find the statement you want to go to. fashionAssertJSONNot found in \illuminate\testing\testResponse. as shown in Figure 1 2. Print the $response object, its actual path is:\illuminate\foundation\testing\testResponse. as shown in Figure 2 3. In another project, phpstorm…
-
Post Views: 18 1. In Laravel 6, an error is reported: Illuminate\View\ViewException (E_ERROR) The mix manifest does not exist. as shown in Figure 1 2. Install Laravel Mix and execute the command: yarn install to install the npm dependency package of the current project 3. Run the MIX task and execute the command: npm run dev 4. Refresh the page,…
-
Post Views: 17 1. In Laravel 6, access:https://object.local, 302 jump tohttps://xxx.xxx.xxx.top. as shown in Figure 1 2. Look in the source code: xxx.xxx.xxx.top, not found. And the database has replaced all xxx.xxx.xxx.top with Object.local. 3. There is a key name in Redis: laravel_cache:main_domain_cache, its value: s:26:”xxx.xxx.xxx.top”;. as shown in Figure 2 4. After clearing Redis, visit again:https://object.local, the response 500.…
-
Post Views: 16 1. Check the Scripts section in Composer.json. as shown in Figure 1 2. When executing the command: composer install, only the commands under the pre-autoload-dump and post-autoload-dump parts are executed. as shown in Figure 2 3. The first command to execute google\task\composer::cleanup belongs to the command event: pre-autoload-dump. This event fires before the autoloader is dumped, either…
-
Post Views: 14 1. When executing php artisan package:discover –ansi, the error: please install the elasticsearch php client: Elasticsearch/Elasticsearch. as shown in Figure 1 2. The reason is that the package tamayo/laravel-scout-elastic needs to install Elasticsearch/elasticsearch. However, before executing the command composer require nuwave/lighthouse, the command is also executed: php artisan package:discover –ansi, no error is reported. as shown in…
-
Post Views: 63 1. Execute the command: git pull origin feature/theme-store –rebase, use the base operation 2. Run git stash push, storage and modification. 3. Execute the base command again 4. Run git stash pop to apply the storage and immediately throw it away from the stack. There is a conflict between the merge code. 5. In TortoiseGit, git submits,…