Year: 2022
-
Post Views: 15 1. When executing the command: npm run build, prompt: npm err! missing script: “build”. as shown in Figure 1 2. Check the package.json file, you can confirm that the scripts does not contain the build script. as shown in Figure 2 3. According to the prompt: to see a list of scripts, run: npm run. To view…
-
Post Views: 18 1. Error in Laravel 6: Target[Interface]Is not instantiable while building[Resolver]. as shown in Figure 1 2. View git logs, analyze /modules/themestore/providers/themestoreServiceProvider.php, send Now there is a shared binding registered in the container: ThemeConfigLoaderInterface::Class, but now it does not exist. as shown in Figure 2 3. Finally found this shared binding: ThemeConfigLoaderInterface::Class has been moved to /modules/themesetting/providers/themesettingServiceProvider.php 4.…
-
Post Views: 16 1. The form on the URL: #11-page, template type, and template, which cannot be jumped to the corresponding position. as shown in Figure 1 2. Decide to view the rendered HTML statement. Check: 1.1 The difference between the page, the template type, and the template. id=”user-content-11 – difference between page template type templates”. as shown in Figure…
-
Post Views: 19 1. In \Vendor\Laravel\Telescope\Src\Watchers\EventWatcher.php:91, an error is reported: get_class() expects parameter 1 to be object, string give. as shown in Figure 1 2. Check \Vendor\Laravel\Telescope\SRC\Watchers\EventWatcher.php:91 3. View the EventServiceProvider 4. This looks like a bug, and I see a new commit that just solves this problem. Submit:https://github.com/laravel/telescope/commit/a69fc6f4f5fd5b0ac5a242981e162774cbb69e17. Support new listeners syntax. as shown in Figure 2 5. I…
-
Post Views: 18 1. There are now 2 projects, and their domain names are: Object.local, Object-master.local. The redis configuration of its .env file is as follows 2. However, the performance at this stage is that both projects still use Redis 1. The problem caused by sharing a Redis 1 database is that when Object.local is opened, and then Object-master.local is…
-
Post Views: 16 1,https://object-master.local/robots.txt, response 404. as shown in Figure 1 2, but,https://object.local/robots.txt, the response 200. as shown in Figure 2 3. The only difference between these 2 URLs is -master . Run: tasklist /fi “imagename eq nginx.exe” . View the nginx process running in the background. There are 4. In theory, there should only be 2 of them. and…
-
Post Views: 20 1. Run successfully in Altair GraphQL Client. as shown in Figure 1 2. Edit the test file, /modules/themestore/tests/functional/graphql/MutationThemeAssetGraphQLapTest.php. 3. Run the test case and report an error: Expected Type ThemeAssetCreateInput to be an object. as shown in Figure 2 4. Re-edit the test file 5. Run the test again and the test passes. 6. Run the test…