Tag: composer install
-
Post Views: 11 1. When executing: composer install, prompt: enqueue/rdkafka 0.10.19 requires ext-rdkafka -> It is missing from your system. install or enable phps rdkafka extension.. as shown in Figure 1 2. Decide to enable PHP’s RDKAFKA extension. Open:https://pecl.php.net/package/rdkafka/6.0.1/windows, download 7.4 Thread Safe (ts) x64. After decompressing php_rdkafka-6.0.1-7.4-ts-vc15-x64, put php_rdkafka.dll Copy to: C:\php-7.4.27\ext\php_rdkafka.dll. Then edit php.ini, add extension=rdkafka 3. When…
-
Post Views: 18 1. In the CI/CD Pipelines of GitLab, the build composer fails. as shown in Figure 1 2. Search the class in the local environmentFaker\Factory, to confirm that /vendor/fzaninotto/faker/src/faker/factory.php exists. Execute in the local environment: php artisan key:generate succeeds. as shown in Figure 2 3. Check the log in gitlab-runner, if[ ! -x “vendor” ];then echoVendor not exists;…
-
Post Views: 18 1. When executing php artisan config:clear, an error is reported: ErrorException : include(e:\wwwroot\object\vendor\composer/../../modules/them eStoreGraphQL/Providers/GraphQLResolverServiceProvider.php): Failed to open stream: no such file or directory. as shown in Figure 1 2. Confirm the file modules/themestoreGraphQL/providers/GraphQLResolverServiceProvider.php It no longer exists and is renamed: modules/OnlineStoreEthemeGraphQL/Providers/GraphQLResolverServiceProvider.php 3. Execute the composer install command to regenerate vendor\composer\classloader.php. Error: in providerRepository.php line 208: classModules\ThemeStoreGraphQL\Providers\GraphQLResolverServiceProviderNot found…
-
Post Views: 15 1. When executing: composer install, it prompts: key condevelopment/blade-filters is a duplicate in ./composer.json at line 91. as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/2022/04/19/6307/. At that time, there was no need to edit composer.json, and add “conedevelopment/blade-filters”: “^0.8”. Delete this line to avoid duplication. 3. Refer to Warning, execute Composer Update ConedEvelopment/blade-filters. as shown in Figure 2…
-
Post Views: 19 1. When executing composer install, an error is reported: classPine\BladeFilters\BladeFiltersnot found. as shown in Figure 1 2. Edit composer.json, add “conedevelopment/blade-filters”: “^0.8” 3. When executing again, the prompt: key ConeDevelopment/blade-filters is a duplicate in ./composer.json at line 91. warning: the lock file is not up to date with the latest changes in composer.json. as shown in Figure…
-
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: 16 1. chmod(): operation not permitted, /vendor/laravel/framework/src/illuminate/filesystem/filesystem.php . as shown in Figure 1 2. The reason may be that the git branch is switched, and the code is not merged. But the /vender directory is shared. Re-execute the command: after composer install, no more errors are reported. as shown in Figure 2
-
Post Views: 15 1. When executing the command: composer install, an error is reported: script google\task\composer::cleanup handling the pre-autoload-dump event terminated with an exception. as shown in Figure 1 2. Check /vendor/google/apiclient/readme.md, clean up unused services, there are more than 200 Google API services. Chances are you won’t want them all. To avoid transferring these dependencies in your code, you…
-
Post Views: 17 1. In phpstorm prompt: Invalid vcs root mapping. The directory <project>\vendor\wartron\yii2-uuid is registered as a git root, but no git repositories were found there. as shown in Figure 1 2. Click Configure to enter the configuration interface. Discover: Vendor\Wartron\Yii2-UUID is marked red. as shown in Figure 2 3. Reference URL:https://www.shuijingwanwq.com/2020/05/11/4130/. The reason is that the directory is…
-
Post Views: 16 1. Edit .gitignore and add /vendor to the git warehouse, as shown in Figure 1 2. Failed to build in Jenkins, check Console output. as shown in Figure 2 3. Docker deployment, delete the composer install. Edit Dockerfile. as shown in Figure 3 4. Build successfully in Jenkins. as shown in Figure 4 5. Failed to start…