"Core fields delta not consider as change" : "web/patches/core-fields-delta-not-consider-as-change. It's easier to set/update multiple versions in the file than by command line. Set new version (range)s explicit from command line or in json (of course save your old file). I think you have some very specific versions where a range would help. "web/modules/contrib_override/printable/modules/printable_pdf/composer.json", Look into your composer.json which basic requirements are set. "web/modules/contrib_override/*/composer.json", ![]() PHP Fatal error: Declaration of React\Promise\RejectedPromise::then(?callable $onFulfilled = null, ?callable $onRejected = null, ?callable $onProgress = null) must be compatible with React\Promise\PromiseInterface::then($fulfilledHandler = null, $errorHandler = null, $progressHandler = null) in /var/on line 21Ĭomposer.json as below, few lines are from our repo like patch and contrib_override modules but those can be skipped as problem is not related to those ": Loading composer repositories with package information Running composer update to apply merge settingsĭrupalProject\composer\ScriptHandler::checkComposerVersion PHP Fatal error: Declaration of Composer\DependencyResolver\Rule2Literals::getLiterals() must be compatible with Composer\DependencyResolver\Rule::getLiterals(): array in /cms/vendor/composer/composer/src/Composer/DependencyResolver/Rule2Literals.php on line 48įatal error: Declaration of Composer\DependencyResolver\Rule2Literals::getLiterals() must be compatible with Composer\DependencyResolver\Rule::getLiterals(): array in /cms/vendor/composer/composer/src/Composer/DependencyResolver/Rule2Literals.php on line 48Ĭomposer version is 2.2.12, Now got this error Rm -rf vendor // remove vendor to simulate server I tried same scenario on local and able to reproduce the error. I troubleshooted and found the reason that vendor folder doesn't exists on server, composer install download all plugins from lock file and fails after line Updating dependencies. However when I upload code on eks server and build process start, composer install fails. After that when I run composer install on my local it works fine as well. Composer update works fine at my local instance. When I do composer update it upgrade/downgrade few plugins due to php version check, it also updated composer api version to 2.3.0. I want to update to php 8, initially i am trying to do at 8.0 instead of 8.1. ![]() I have a drupal 9.2.18 site working with php 7.4
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |