Year: 2022
-
Post Views: 18 1. When running in the Shopify application: YARN DEV, an error is reported: Bundler version 2.3.7 is not supported. as shown in Figure 1 2. To update to the latest version of Bundler, run gem install bundler. 3. Run again: yarn dev, no more errors.
-
Post Views: 19 1. Execute: When YARN Shopify App Generate Extension, an error is reported: ERROR COULDNT find a package.json file in “E:\\wwwroot\\shopify-theme-app-extension\\20221012” info visithttps://yarnpkg.com/en/docs/cli/runfor documentation about this command. as shown in Figure 1 2. Reference:https://classic.yarnpkg.com/en/docs/cli/init. Create or update the package.json file interactively. Execute: yarn init. as shown in Figure 2 3. View the generated package.json file 4. Error: Error…
-
Post Views: 19 1. View requirements, you have created an app using Shopify CLI 3.0 or later, or you have migrated an existing app to make it compatible with Shopify CLI 3.0 or later. 2. Reference: Use Shopify CLI to create an application (PHP-based application template) and install it in the store 3. Execute: YARN Shopify App Generate Extension Create…
-
Post Views: 15 1. Navigate to the directory where you want to create the application (e:\wwwroot\shopify-app). Your application will be created in a new subdirectory. as shown in Figure 1 2. Run one of the following commands to create a new application, and then select the language of the application template you want to start using: Node, PHP, or Ruby.…
-
Post Views: 20 1. Error: count(): parameter must be an array or an object that implements countable (view: ). as shown in Figure 1 2. Check the code implementation 3. Print $user->address_book, its value is null 4. Adjust the code implementation, when $user->address_book is null, the expression $user->address_book ??[]equivalent to[], otherwise it is $user->address_book. 5. In PHP 7.2.0, when the…
-
Post Views: 15 1. When syncing topics based on GitHub in Shopify, an error is reported: config/settings_schema.json, validation failed. as shown in Figure 1 2. The configuration of the original dawn is as follows 3. The configuration of the error reported after editing is as follows 4. Reference:https://shopify.dev/themes/getting-started/create#step-7-test-your-connection. Update the theme_name value to match the name you specified for the…
-
Post Views: 21 1. Receive an email: Alibaba Cloud filing information verification notice. There is a problem: the name of the filed website is inconsistent with the actual website name. as shown in Figure 1 2. Begin the filing under the filing website of the ICP filing. as shown in Figure 2 3. After filling in the relevant information verification,…
-
Post Views: 16 1. A GraphQL API, which takes up to 7 seconds. as shown in Figure 1 2. The time to query this request in Laravel Telescope, 1345 ms. as shown in Figure 2 3. Instead of requesting the GraphQL API on the page, it takes 1.87 seconds to request a separate request using the Altair GraphQL Client. Approximately…