Cannot be installed if drupal/core-dev is installed because the dependency justinrainbow/json-schema cannot be installed.

PHP 8.3.6, Drupal 11.2.2 and drupal/experience_builder 0.5.0-alpha1

See attached log:

www-data@cli-drupal11-test:/var/www$ composer require 'drupal/experience_builder:^0.5@alpha'
./composer.json has been updated
Running composer update drupal/experience_builder
Gathering patches from patch file.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/experience_builder ^0.5@alpha -> satisfiable by drupal/experience_builder[0.5.0-alpha1].
    - drupal/experience_builder 0.5.0-alpha1 requires justinrainbow/json-schema ^5.2 -> found justinrainbow/json-schema[5.2.0, ..., 5.3.0] but the package is fixed to 6.4.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.



www-data@cli-drupal11-test:/var/www$ composer remove drupal/core-dev
./composer.json has been updated
Running composer update drupal/core-dev
Gathering patches from patch file.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 0 updates, 83 removals
  - Removing behat/mink (v1.12.0)
  - Removing behat/mink-browserkit-driver (v2.2.0)
  - Removing brick/math (0.13.1)
  - Removing colinodell/psr-testlogger (v1.3.0)
  - Removing composer/ca-bundle (1.5.7)
  - Removing composer/class-map-generator (1.6.1)
  - Removing composer/composer (2.8.9)
  - Removing composer/metadata-minifier (1.0.0)
  - Removing composer/pcre (3.3.2)
  - Removing composer/spdx-licenses (1.5.9)
  - Removing composer/xdebug-handler (3.0.5)
  - Removing dealerdirect/phpcodesniffer-composer-installer (v1.1.1)
  - Removing doctrine/instantiator (2.0.0)
  - Removing drupal/coder (8.3.30)
  - Removing drupal/core-dev (11.2.2)
  - Removing google/protobuf (v4.31.1)
  - Removing justinrainbow/json-schema (6.4.2)
  - Removing lullabot/mink-selenium2-driver (v1.7.4)
  - Removing lullabot/php-webdriver (v2.0.6)
  - Removing marc-mabe/php-enum (v4.7.1)
  - Removing micheh/phpcs-gitlab (2.0.0)
  - Removing mikey179/vfsstream (v1.6.12)
  - Removing myclabs/deep-copy (1.13.1)
  - Removing nyholm/psr7-server (1.1.0)
  - Removing open-telemetry/api (1.4.0)
  - Removing open-telemetry/context (1.2.1)
  - Removing open-telemetry/exporter-otlp (1.3.2)
  - Removing open-telemetry/gen-otlp-protobuf (1.5.0)
  - Removing open-telemetry/sdk (1.6.0)
  - Removing open-telemetry/sem-conv (1.32.1)
  - Removing phar-io/manifest (2.0.4)
  - Removing phar-io/version (3.2.1)
  - Removing php-http/discovery (1.20.0)
  - Removing php-http/guzzle7-adapter (1.1.0)
  - Removing php-http/httplug (2.4.1)
  - Removing php-http/promise (1.3.1)
  - Removing phpdocumentor/reflection-common (2.2.0)
  - Removing phpdocumentor/reflection-docblock (5.6.2)
  - Removing phpdocumentor/type-resolver (1.10.0)
  - Removing phpspec/prophecy (v1.22.0)
  - Removing phpspec/prophecy-phpunit (v2.4.0)
  - Removing phpstan/extension-installer (1.4.3)
  - Removing phpstan/phpdoc-parser (2.1.0)
  - Removing phpstan/phpstan-phpunit (2.0.6)
  - Removing phpunit/php-code-coverage (11.0.10)
  - Removing phpunit/php-file-iterator (5.1.0)
  - Removing phpunit/php-invoker (5.0.1)
  - Removing phpunit/php-text-template (4.0.1)
  - Removing phpunit/php-timer (7.0.1)
  - Removing phpunit/phpunit (11.5.25)
  - Removing ramsey/collection (2.1.1)
  - Removing ramsey/uuid (4.9.0)
  - Removing react/promise (v3.2.0)
  - Removing sebastian/cli-parser (3.0.2)
  - Removing sebastian/code-unit (3.0.3)
  - Removing sebastian/code-unit-reverse-lookup (4.0.1)
  - Removing sebastian/comparator (6.3.1)
  - Removing sebastian/complexity (4.0.1)
  - Removing sebastian/environment (7.2.1)
  - Removing sebastian/exporter (6.3.0)
  - Removing sebastian/global-state (7.0.2)
  - Removing sebastian/lines-of-code (3.0.1)
  - Removing sebastian/object-enumerator (6.0.1)
  - Removing sebastian/object-reflector (4.0.1)
  - Removing sebastian/recursion-context (6.0.2)
  - Removing sebastian/type (5.1.2)
  - Removing sebastian/version (5.0.2)
  - Removing seld/jsonlint (1.11.0)
  - Removing seld/phar-utils (1.2.1)
  - Removing seld/signal-handler (2.0.2)
  - Removing sirbrillig/phpcs-variable-analysis (v2.12.0)
  - Removing slevomat/coding-standard (8.19.1)
  - Removing squizlabs/php_codesniffer (3.13.2)
  - Removing staabm/side-effects-detector (1.0.5)
  - Removing symfony/browser-kit (v7.3.0)
  - Removing symfony/css-selector (v7.3.0)
  - Removing symfony/dom-crawler (v7.3.1)
  - Removing symfony/lock (v7.3.0)
  - Removing symfony/polyfill-php73 (v1.32.0)
  - Removing symfony/polyfill-php82 (v1.32.0)
  - Removing tbachert/spi (v1.0.5)
  - Removing theseer/tokenizer (1.2.3)
  - Removing webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 0 updates, 83 removals
  - Removing webmozart/assert (1.11.0)
  - Removing theseer/tokenizer (1.2.3)
  - Removing tbachert/spi (v1.0.5)
  - Removing symfony/polyfill-php82 (v1.32.0)
  - Removing symfony/polyfill-php73 (v1.32.0)
  - Removing symfony/lock (v7.3.0)
  - Removing symfony/dom-crawler (v7.3.1)
  - Removing symfony/css-selector (v7.3.0)
  - Removing symfony/browser-kit (v7.3.0)
  - Removing staabm/side-effects-detector (1.0.5)
  - Removing squizlabs/php_codesniffer (3.13.2)
  - Removing slevomat/coding-standard (8.19.1)
  - Removing sirbrillig/phpcs-variable-analysis (v2.12.0)
  - Removing seld/signal-handler (2.0.2)
  - Removing seld/phar-utils (1.2.1)
  - Removing seld/jsonlint (1.11.0)
  - Removing sebastian/version (5.0.2)
  - Removing sebastian/type (5.1.2)
  - Removing sebastian/recursion-context (6.0.2)
  - Removing sebastian/object-reflector (4.0.1)
  - Removing sebastian/object-enumerator (6.0.1)
  - Removing sebastian/lines-of-code (3.0.1)
  - Removing sebastian/global-state (7.0.2)
  - Removing sebastian/exporter (6.3.0)
  - Removing sebastian/environment (7.2.1)
  - Removing sebastian/complexity (4.0.1)
  - Removing sebastian/comparator (6.3.1)
  - Removing sebastian/code-unit-reverse-lookup (4.0.1)
  - Removing sebastian/code-unit (3.0.3)
  - Removing sebastian/cli-parser (3.0.2)
  - Removing react/promise (v3.2.0)
  - Removing ramsey/uuid (4.9.0)
  - Removing ramsey/collection (2.1.1)
  - Removing phpunit/phpunit (11.5.25)
  - Removing phpunit/php-timer (7.0.1)
  - Removing phpunit/php-text-template (4.0.1)
  - Removing phpunit/php-invoker (5.0.1)
  - Removing phpunit/php-file-iterator (5.1.0)
  - Removing phpunit/php-code-coverage (11.0.10)
  - Removing phpstan/phpstan-phpunit (2.0.6)
  - Removing phpstan/phpdoc-parser (2.1.0)
  - Removing phpstan/extension-installer (1.4.3)
  - Removing phpspec/prophecy-phpunit (v2.4.0)
  - Removing phpspec/prophecy (v1.22.0)
  - Removing phpdocumentor/type-resolver (1.10.0)
  - Removing phpdocumentor/reflection-docblock (5.6.2)
  - Removing phpdocumentor/reflection-common (2.2.0)
  - Removing php-http/promise (1.3.1)
  - Removing php-http/httplug (2.4.1)
  - Removing php-http/guzzle7-adapter (1.1.0)
  - Removing php-http/discovery (1.20.0)
  - Removing phar-io/version (3.2.1)
  - Removing phar-io/manifest (2.0.4)
  - Removing open-telemetry/sem-conv (1.32.1)
  - Removing open-telemetry/sdk (1.6.0)
  - Removing open-telemetry/gen-otlp-protobuf (1.5.0)
  - Removing open-telemetry/exporter-otlp (1.3.2)
  - Removing open-telemetry/context (1.2.1)
  - Removing open-telemetry/api (1.4.0)
  - Removing nyholm/psr7-server (1.1.0)
  - Removing myclabs/deep-copy (1.13.1)
  - Removing mikey179/vfsstream (v1.6.12)
  - Removing micheh/phpcs-gitlab (2.0.0)
  - Removing marc-mabe/php-enum (v4.7.1)
  - Removing lullabot/php-webdriver (v2.0.6)
  - Removing lullabot/mink-selenium2-driver (v1.7.4)
  - Removing justinrainbow/json-schema (6.4.2)
  - Removing google/protobuf (v4.31.1)
  - Removing drupal/core-dev (11.2.2)
  - Removing drupal/coder (8.3.30)
  - Removing doctrine/instantiator (2.0.0)
  - Removing dealerdirect/phpcodesniffer-composer-installer (v1.1.1)
  - Removing composer/xdebug-handler (3.0.5)
  - Removing composer/spdx-licenses (1.5.9)
  - Removing composer/pcre (3.3.2)
  - Removing composer/metadata-minifier (1.0.0)
  - Removing composer/composer (2.8.9)
  - Removing composer/class-map-generator (1.6.1)
  - Removing composer/ca-bundle (1.5.7)
  - Removing colinodell/psr-testlogger (v1.3.0)
  - Removing brick/math (0.13.1)
  - Removing behat/mink-browserkit-driver (v2.2.0)
  - Removing behat/mink (v1.12.0)
Generating autoload files
53 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Failed to audit installed packages.



www-data@cli-drupal11-test:/var/www$ composer require 'drupal/experience_builder:^0.5@alpha'
./composer.json has been updated
Running composer update drupal/experience_builder
Gathering patches from patch file.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
  - Locking drupal/experience_builder (0.5.0-alpha1)
  - Locking justinrainbow/json-schema (5.3.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
  - Downloading justinrainbow/json-schema (5.3.0)
  - Downloading drupal/experience_builder (0.5.0-alpha1)
Gathering patches from patch file.
Gathering patches for dependencies. This might take a minute.
  - Installing justinrainbow/json-schema (5.3.0): Extracting archive
  - Installing drupal/experience_builder (0.5.0-alpha1): Extracting archive
Generating autoload files
53 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
www-data@cli-drupal11-test:/var/www$ 

Comments

nevergone created an issue. See original summary.

nevergone’s picture

Issue summary: View changes
nevergone’s picture

Issue summary: View changes
penyaskito’s picture

Status: Active » Postponed (maintainer needs more info)

drupal/core-dev specifies justinrainbow/json-schema: ^5.2 || ^6.3

The message says: the package is fixed to 6.4.2 in your lock file.

You should be able to downgrade it.

penyaskito’s picture

Component: … to be triaged » Miscellaneous
Category: Bug report » Support request

drupal/core-dev specifies justinrainbow/json-schema: ^5.2 || ^6.3

The message says: the package is fixed to 6.4.2 in your lock file.

You should be able to downgrade it.

nevergone’s picture

Status: Postponed (maintainer needs more info) » Active

PHP 8.3.6, Drupal 11.2.2 (fresh download), Composer 2.8.9

www-data@cli-drupal11-test:/var/www$ composer create-project drupal/recommended-project .
Creating a "drupal/recommended-project" project at "./"
Installing drupal/recommended-project (11.2.2)
  - Downloading drupal/recommended-project (11.2.2)
  - Installing drupal/recommended-project (11.2.2): Extracting archive
Created project in /var/www/.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 64 installs, 0 updates, 0 removals
  - Downloading composer/installers (v2.3.0)
  - Downloading drupal/core-composer-scaffold (11.2.2)
  - Downloading drupal/core-project-message (11.2.2)
  - Downloading drupal/core-recipe-unpack (11.2.2)
  - Downloading symfony/polyfill-iconv (v1.32.0)
  - Downloading symfony/polyfill-mbstring (v1.32.0)
  - Downloading symfony/polyfill-ctype (v1.32.0)
  - Downloading symfony/deprecation-contracts (v3.6.0)
  - Downloading twig/twig (v3.21.1)
  - Downloading symfony/yaml (v7.3.0)
  - Downloading symfony/var-exporter (v7.3.0)
  - Downloading symfony/var-dumper (v7.3.0)
  - Downloading symfony/translation-contracts (v3.6.0)
  - Downloading symfony/polyfill-php83 (v1.32.0)
  - Downloading symfony/validator (v7.3.0)
  - Downloading symfony/polyfill-intl-normalizer (v1.32.0)
  - Downloading symfony/polyfill-intl-grapheme (v1.32.0)
  - Downloading symfony/string (v7.3.0)
  - Downloading psr/container (2.0.2)
  - Downloading symfony/service-contracts (v3.6.0)
  - Downloading symfony/serializer (v7.3.0)
  - Downloading symfony/routing (v7.3.0)
  - Downloading symfony/http-foundation (v7.3.0)
  - Downloading psr/http-message (2.0)
  - Downloading symfony/psr-http-message-bridge (v7.3.0)
  - Downloading symfony/process (v7.3.0)
  - Downloading symfony/polyfill-php84 (v1.32.0)
  - Downloading symfony/polyfill-intl-idn (v1.32.0)
  - Downloading symfony/mime (v7.3.0)
  - Downloading psr/event-dispatcher (1.0.0)
  - Downloading symfony/event-dispatcher-contracts (v3.6.0)
  - Downloading symfony/event-dispatcher (v7.3.0)
  - Downloading psr/log (3.0.2)
  - Downloading doctrine/deprecations (1.1.5)
  - Downloading doctrine/lexer (2.1.1)
  - Downloading egulias/email-validator (4.0.4)
  - Downloading symfony/mailer (v7.3.0)
  - Downloading symfony/error-handler (v7.3.0)
  - Downloading symfony/http-kernel (v7.3.0)
  - Downloading symfony/finder (v7.3.0)
  - Downloading symfony/filesystem (v7.3.0)
  - Downloading symfony/dependency-injection (v7.3.0)
  - Downloading symfony/console (v7.3.0)
  - Downloading sebastian/diff (6.0.2)
  - Downloading revolt/event-loop (v1.0.7)
  - Downloading ralouphie/getallheaders (3.0.3)
  - Downloading psr/http-factory (1.1.0)
  - Downloading psr/http-client (1.0.3)
  - Downloading psr/cache (3.0.0)
  - Downloading php-tuf/composer-stager (v2.0.1)
  - Downloading pear/pear_exception (v1.0.2)
  - Downloading pear/console_getopt (v1.4.3)
  - Downloading pear/pear-core-minimal (v1.10.16)
  - Downloading pear/archive_tar (1.5.0)
  - Downloading mck89/peast (v1.17.0)
  - Downloading masterminds/html5 (2.9.0)
  - Downloading guzzlehttp/psr7 (2.7.1)
  - Downloading guzzlehttp/promises (2.2.0)
  - Downloading guzzlehttp/guzzle (7.9.3)
  - Downloading doctrine/annotations (2.0.2)
  - Downloading composer/semver (3.4.3)
  - Downloading asm89/stack-cors (v2.3.0)
  - Downloading drupal/core (11.2.2)
  - Installing composer/installers (v2.3.0): Extracting archive
  - Installing drupal/core-composer-scaffold (11.2.2): Extracting archive
  - Installing drupal/core-project-message (11.2.2): Extracting archive
  - Installing drupal/core-recipe-unpack (11.2.2): Extracting archive
  - Installing symfony/polyfill-iconv (v1.32.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.32.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.32.0): Extracting archive
  - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
  - Installing twig/twig (v3.21.1): Extracting archive
  - Installing symfony/yaml (v7.3.0): Extracting archive
  - Installing symfony/var-exporter (v7.3.0): Extracting archive
  - Installing symfony/var-dumper (v7.3.0): Extracting archive
  - Installing symfony/translation-contracts (v3.6.0): Extracting archive
  - Installing symfony/polyfill-php83 (v1.32.0): Extracting archive
  - Installing symfony/validator (v7.3.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.32.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.32.0): Extracting archive
  - Installing symfony/string (v7.3.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.6.0): Extracting archive
  - Installing symfony/serializer (v7.3.0): Extracting archive
  - Installing symfony/routing (v7.3.0): Extracting archive
  - Installing symfony/http-foundation (v7.3.0): Extracting archive
  - Installing psr/http-message (2.0): Extracting archive
  - Installing symfony/psr-http-message-bridge (v7.3.0): Extracting archive
  - Installing symfony/process (v7.3.0): Extracting archive
  - Installing symfony/polyfill-php84 (v1.32.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.32.0): Extracting archive
  - Installing symfony/mime (v7.3.0): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v3.6.0): Extracting archive
  - Installing symfony/event-dispatcher (v7.3.0): Extracting archive
  - Installing psr/log (3.0.2): Extracting archive
  - Installing doctrine/deprecations (1.1.5): Extracting archive
  - Installing doctrine/lexer (2.1.1): Extracting archive
  - Installing egulias/email-validator (4.0.4): Extracting archive
  - Installing symfony/mailer (v7.3.0): Extracting archive
  - Installing symfony/error-handler (v7.3.0): Extracting archive
  - Installing symfony/http-kernel (v7.3.0): Extracting archive
  - Installing symfony/finder (v7.3.0): Extracting archive
  - Installing symfony/filesystem (v7.3.0): Extracting archive
  - Installing symfony/dependency-injection (v7.3.0): Extracting archive
  - Installing symfony/console (v7.3.0): Extracting archive
  - Installing sebastian/diff (6.0.2): Extracting archive
  - Installing revolt/event-loop (v1.0.7): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-factory (1.1.0): Extracting archive
  - Installing psr/http-client (1.0.3): Extracting archive
  - Installing psr/cache (3.0.0): Extracting archive
  - Installing php-tuf/composer-stager (v2.0.1): Extracting archive
  - Installing pear/pear_exception (v1.0.2): Extracting archive
  - Installing pear/console_getopt (v1.4.3): Extracting archive
  - Installing pear/pear-core-minimal (v1.10.16): Extracting archive
  - Installing pear/archive_tar (1.5.0): Extracting archive
  - Installing mck89/peast (v1.17.0): Extracting archive
  - Installing masterminds/html5 (2.9.0): Extracting archive
  - Installing guzzlehttp/psr7 (2.7.1): Extracting archive
  - Installing guzzlehttp/promises (2.2.0): Extracting archive
  - Installing guzzlehttp/guzzle (7.9.3): Extracting archive
  - Installing doctrine/annotations (2.0.2): Extracting archive
  - Installing composer/semver (3.4.3): Extracting archive
  - Installing asm89/stack-cors (v2.3.0): Extracting archive
  - Installing drupal/core (11.2.2): Extracting archive
  - Installing drupal/core-recommended (11.2.2)
Generating autoload files
40 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for drupal/core:
  - Copy [project-root]/.editorconfig from assets/scaffold/files/editorconfig
  - Copy [project-root]/.gitattributes from assets/scaffold/files/gitattributes
  - Copy [project-root]/recipes/README.txt from assets/scaffold/files/recipes.README.txt
  - Copy [web-root]/.csslintrc from assets/scaffold/files/csslintrc
  - Copy [web-root]/.eslintignore from assets/scaffold/files/eslintignore
  - Copy [web-root]/.eslintrc.json from assets/scaffold/files/eslintrc.json
  - Copy [web-root]/.ht.router.php from assets/scaffold/files/ht.router.php
  - Copy [web-root]/.htaccess from assets/scaffold/files/htaccess
  - Copy [web-root]/example.gitignore from assets/scaffold/files/example.gitignore
  - Copy [web-root]/index.php from assets/scaffold/files/index.php
  - Copy [web-root]/INSTALL.txt from assets/scaffold/files/drupal.INSTALL.txt
  - Copy [web-root]/README.md from assets/scaffold/files/drupal.README.md
  - Copy [web-root]/robots.txt from assets/scaffold/files/robots.txt
  - Copy [web-root]/update.php from assets/scaffold/files/update.php
  - Copy [web-root]/sites/README.txt from assets/scaffold/files/sites.README.txt
  - Copy [web-root]/sites/development.services.yml from assets/scaffold/files/development.services.yml
  - Copy [web-root]/sites/example.settings.local.php from assets/scaffold/files/example.settings.local.php
  - Copy [web-root]/sites/example.sites.php from assets/scaffold/files/example.sites.php
  - Copy [web-root]/sites/default/default.services.yml from assets/scaffold/files/default.services.yml
  - Copy [web-root]/sites/default/default.settings.php from assets/scaffold/files/default.settings.php
  - Copy [web-root]/modules/README.txt from assets/scaffold/files/modules.README.txt
  - Copy [web-root]/profiles/README.txt from assets/scaffold/files/profiles.README.txt
  - Copy [web-root]/themes/README.txt from assets/scaffold/files/themes.README.txt
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178
No security vulnerability advisories found.
                                                         
  Congratulations, you’ve installed the Drupal codebase  
  from the drupal/recommended-project template!          
                                                         

Next steps:
  * Install the site: https://www.drupal.org/docs/installing-drupal
  * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html
  * Get support: https://www.drupal.org/support
  * Get involved with the Drupal community:
      https://www.drupal.org/getting-involved
  * Remove the plugin that prints this message:
      composer remove drupal/core-project-message
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178






www-data@cli-drupal11-test:/var/www$ composer require drupal/core-dev
./composer.json has been updated
Running composer update drupal/core-dev
Loading composer repositories with package information
Updating dependencies
Lock file operations: 90 installs, 0 updates, 0 removals
  - Locking behat/mink (v1.12.0)
  - Locking behat/mink-browserkit-driver (v2.2.0)
  - Locking brick/math (0.13.1)
  - Locking colinodell/psr-testlogger (v1.3.0)
  - Locking composer/ca-bundle (1.5.7)
  - Locking composer/class-map-generator (1.6.1)
  - Locking composer/composer (2.8.9)
  - Locking composer/metadata-minifier (1.0.0)
  - Locking composer/pcre (3.3.2)
  - Locking composer/spdx-licenses (1.5.9)
  - Locking composer/xdebug-handler (3.0.5)
  - Locking dealerdirect/phpcodesniffer-composer-installer (v1.1.1)
  - Locking doctrine/instantiator (2.0.0)
  - Locking drupal/coder (8.3.30)
  - Locking drupal/core-dev (11.2.2)
  - Locking google/protobuf (v4.31.1)
  - Locking justinrainbow/json-schema (6.4.2)
  - Locking lullabot/mink-selenium2-driver (v1.7.4)
  - Locking lullabot/php-webdriver (v2.0.6)
  - Locking marc-mabe/php-enum (v4.7.1)
  - Locking mglaman/phpstan-drupal (2.0.7)
  - Locking micheh/phpcs-gitlab (2.0.0)
  - Locking mikey179/vfsstream (v1.6.12)
  - Locking myclabs/deep-copy (1.13.3)
  - Locking nikic/php-parser (v5.5.0)
  - Locking nyholm/psr7-server (1.1.0)
  - Locking open-telemetry/api (1.4.0)
  - Locking open-telemetry/context (1.2.1)
  - Locking open-telemetry/exporter-otlp (1.3.2)
  - Locking open-telemetry/gen-otlp-protobuf (1.5.0)
  - Locking open-telemetry/sdk (1.6.0)
  - Locking open-telemetry/sem-conv (1.32.1)
  - Locking phar-io/manifest (2.0.4)
  - Locking phar-io/version (3.2.1)
  - Locking php-http/discovery (1.20.0)
  - Locking php-http/guzzle7-adapter (1.1.0)
  - Locking php-http/httplug (2.4.1)
  - Locking php-http/promise (1.3.1)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.6.2)
  - Locking phpdocumentor/type-resolver (1.10.0)
  - Locking phpspec/prophecy (v1.22.0)
  - Locking phpspec/prophecy-phpunit (v2.4.0)
  - Locking phpstan/extension-installer (1.4.3)
  - Locking phpstan/phpdoc-parser (2.1.0)
  - Locking phpstan/phpstan (2.1.17)
  - Locking phpstan/phpstan-deprecation-rules (2.0.3)
  - Locking phpstan/phpstan-phpunit (2.0.6)
  - Locking phpunit/php-code-coverage (11.0.10)
  - Locking phpunit/php-file-iterator (5.1.0)
  - Locking phpunit/php-invoker (5.0.1)
  - Locking phpunit/php-text-template (4.0.1)
  - Locking phpunit/php-timer (7.0.1)
  - Locking phpunit/phpunit (11.5.26)
  - Locking ramsey/collection (2.1.1)
  - Locking ramsey/uuid (4.9.0)
  - Locking react/promise (v3.2.0)
  - Locking sebastian/cli-parser (3.0.2)
  - Locking sebastian/code-unit (3.0.3)
  - Locking sebastian/code-unit-reverse-lookup (4.0.1)
  - Locking sebastian/comparator (6.3.1)
  - Locking sebastian/complexity (4.0.1)
  - Locking sebastian/environment (7.2.1)
  - Locking sebastian/exporter (6.3.0)
  - Locking sebastian/global-state (7.0.2)
  - Locking sebastian/lines-of-code (3.0.1)
  - Locking sebastian/object-enumerator (6.0.1)
  - Locking sebastian/object-reflector (4.0.1)
  - Locking sebastian/recursion-context (6.0.2)
  - Locking sebastian/type (5.1.2)
  - Locking sebastian/version (5.0.2)
  - Locking seld/jsonlint (1.11.0)
  - Locking seld/phar-utils (1.2.1)
  - Locking seld/signal-handler (2.0.2)
  - Locking sirbrillig/phpcs-variable-analysis (v2.12.0)
  - Locking slevomat/coding-standard (8.19.1)
  - Locking squizlabs/php_codesniffer (3.13.2)
  - Locking staabm/side-effects-detector (1.0.5)
  - Locking symfony/browser-kit (v7.3.0)
  - Locking symfony/css-selector (v7.3.0)
  - Locking symfony/dom-crawler (v7.3.1)
  - Locking symfony/lock (v7.3.0)
  - Locking symfony/polyfill-php73 (v1.32.0)
  - Locking symfony/polyfill-php80 (v1.32.0)
  - Locking symfony/polyfill-php81 (v1.32.0)
  - Locking symfony/polyfill-php82 (v1.32.0)
  - Locking tbachert/spi (v1.0.5)
  - Locking theseer/tokenizer (1.2.3)
  - Locking webflo/drupal-finder (1.3.1)
  - Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 90 installs, 0 updates, 0 removals
  - Downloading php-http/discovery (1.20.0)
  - Downloading phpstan/phpstan (2.1.17)
  - Downloading phpstan/extension-installer (1.4.3)
  - Downloading tbachert/spi (v1.0.5)
  - Downloading squizlabs/php_codesniffer (3.13.2)
  - Downloading dealerdirect/phpcodesniffer-composer-installer (v1.1.1)
  - Downloading composer/ca-bundle (1.5.7)
  - Downloading composer/pcre (3.3.2)
  - Downloading composer/class-map-generator (1.6.1)
  - Downloading composer/metadata-minifier (1.0.0)
  - Downloading composer/spdx-licenses (1.5.9)
  - Downloading composer/xdebug-handler (3.0.5)
  - Downloading doctrine/instantiator (2.0.0)
  - Downloading symfony/lock (v7.3.0)
  - Downloading symfony/dom-crawler (v7.3.1)
  - Downloading symfony/css-selector (v7.3.0)
  - Downloading symfony/browser-kit (v7.3.0)
  - Downloading staabm/side-effects-detector (1.0.5)
  - Downloading sebastian/version (5.0.2)
  - Downloading sebastian/type (5.1.2)
  - Downloading sebastian/recursion-context (6.0.2)
  - Downloading sebastian/object-reflector (4.0.1)
  - Downloading sebastian/object-enumerator (6.0.1)
  - Downloading sebastian/global-state (7.0.2)
  - Downloading sebastian/exporter (6.3.0)
  - Downloading sebastian/environment (7.2.1)
  - Downloading sebastian/comparator (6.3.1)
  - Downloading sebastian/code-unit (3.0.3)
  - Downloading sebastian/cli-parser (3.0.2)
  - Downloading phpunit/php-timer (7.0.1)
  - Downloading phpunit/php-text-template (4.0.1)
  - Downloading phpunit/php-invoker (5.0.1)
  - Downloading phpunit/php-file-iterator (5.1.0)
  - Downloading theseer/tokenizer (1.2.3)
  - Downloading nikic/php-parser (v5.5.0)
  - Downloading sebastian/lines-of-code (3.0.1)
  - Downloading sebastian/complexity (4.0.1)
  - Downloading sebastian/code-unit-reverse-lookup (4.0.1)
  - Downloading phpunit/php-code-coverage (11.0.10)
  - Downloading phar-io/version (3.2.1)
  - Downloading phar-io/manifest (2.0.4)
  - Downloading myclabs/deep-copy (1.13.3)
  - Downloading phpunit/phpunit (11.5.26)
  - Downloading phpstan/phpstan-phpunit (2.0.6)
  - Downloading webmozart/assert (1.11.0)
  - Downloading phpstan/phpdoc-parser (2.1.0)
  - Downloading phpdocumentor/reflection-common (2.2.0)
  - Downloading phpdocumentor/type-resolver (1.10.0)
  - Downloading phpdocumentor/reflection-docblock (5.6.2)
  - Downloading phpspec/prophecy (v1.22.0)
  - Downloading phpspec/prophecy-phpunit (v2.4.0)
  - Downloading php-http/promise (1.3.1)
  - Downloading php-http/httplug (2.4.1)
  - Downloading php-http/guzzle7-adapter (1.1.0)
  - Downloading symfony/polyfill-php82 (v1.32.0)
  - Downloading ramsey/collection (2.1.1)
  - Downloading brick/math (0.13.1)
  - Downloading ramsey/uuid (4.9.0)
  - Downloading open-telemetry/sem-conv (1.32.1)
  - Downloading open-telemetry/context (1.2.1)
  - Downloading open-telemetry/api (1.4.0)
  - Downloading nyholm/psr7-server (1.1.0)
  - Downloading open-telemetry/sdk (1.6.0)
  - Downloading google/protobuf (v4.31.1)
  - Downloading open-telemetry/gen-otlp-protobuf (1.5.0)
  - Downloading open-telemetry/exporter-otlp (1.3.2)
  - Downloading mikey179/vfsstream (v1.6.12)
  - Downloading micheh/phpcs-gitlab (2.0.0)
  - Downloading webflo/drupal-finder (1.3.1)
  - Downloading phpstan/phpstan-deprecation-rules (2.0.3)
  - Downloading mglaman/phpstan-drupal (2.0.7)
  - Downloading lullabot/php-webdriver (v2.0.6)
  - Downloading behat/mink (v1.12.0)
  - Downloading lullabot/mink-selenium2-driver (v1.7.4)
  - Downloading marc-mabe/php-enum (v4.7.1)
  - Downloading justinrainbow/json-schema (6.4.2)
  - Downloading slevomat/coding-standard (8.19.1)
  - Downloading sirbrillig/phpcs-variable-analysis (v2.12.0)
  - Downloading drupal/coder (8.3.30)
  - Downloading symfony/polyfill-php81 (v1.32.0)
  - Downloading symfony/polyfill-php80 (v1.32.0)
  - Downloading symfony/polyfill-php73 (v1.32.0)
  - Downloading seld/signal-handler (2.0.2)
  - Downloading seld/phar-utils (1.2.1)
  - Downloading seld/jsonlint (1.11.0)
  - Downloading react/promise (v3.2.0)
  - Downloading composer/composer (2.8.9)
  - Downloading colinodell/psr-testlogger (v1.3.0)
  - Downloading behat/mink-browserkit-driver (v2.2.0)
  - Installing php-http/discovery (1.20.0): Extracting archive
  - Installing phpstan/phpstan (2.1.17): Extracting archive
  - Installing phpstan/extension-installer (1.4.3): Extracting archive
tbachert/spi contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "tbachert/spi" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing tbachert/spi (v1.0.5): Extracting archive
  - Installing squizlabs/php_codesniffer (3.13.2): Extracting archive
  - Installing dealerdirect/phpcodesniffer-composer-installer (v1.1.1): Extracting archive
  - Installing composer/ca-bundle (1.5.7): Extracting archive
  - Installing composer/pcre (3.3.2): Extracting archive
  - Installing composer/class-map-generator (1.6.1): Extracting archive
  - Installing composer/metadata-minifier (1.0.0): Extracting archive
  - Installing composer/spdx-licenses (1.5.9): Extracting archive
  - Installing composer/xdebug-handler (3.0.5): Extracting archive
  - Installing doctrine/instantiator (2.0.0): Extracting archive
  - Installing symfony/lock (v7.3.0): Extracting archive
  - Installing symfony/dom-crawler (v7.3.1): Extracting archive
  - Installing symfony/css-selector (v7.3.0): Extracting archive
  - Installing symfony/browser-kit (v7.3.0): Extracting archive
  - Installing staabm/side-effects-detector (1.0.5): Extracting archive
  - Installing sebastian/version (5.0.2): Extracting archive
  - Installing sebastian/type (5.1.2): Extracting archive
  - Installing sebastian/recursion-context (6.0.2): Extracting archive
  - Installing sebastian/object-reflector (4.0.1): Extracting archive
  - Installing sebastian/object-enumerator (6.0.1): Extracting archive
  - Installing sebastian/global-state (7.0.2): Extracting archive
  - Installing sebastian/exporter (6.3.0): Extracting archive
  - Installing sebastian/environment (7.2.1): Extracting archive
  - Installing sebastian/comparator (6.3.1): Extracting archive
  - Installing sebastian/code-unit (3.0.3): Extracting archive
  - Installing sebastian/cli-parser (3.0.2): Extracting archive
  - Installing phpunit/php-timer (7.0.1): Extracting archive
  - Installing phpunit/php-text-template (4.0.1): Extracting archive
  - Installing phpunit/php-invoker (5.0.1): Extracting archive
  - Installing phpunit/php-file-iterator (5.1.0): Extracting archive
  - Installing theseer/tokenizer (1.2.3): Extracting archive
  - Installing nikic/php-parser (v5.5.0): Extracting archive
  - Installing sebastian/lines-of-code (3.0.1): Extracting archive
  - Installing sebastian/complexity (4.0.1): Extracting archive
  - Installing sebastian/code-unit-reverse-lookup (4.0.1): Extracting archive
  - Installing phpunit/php-code-coverage (11.0.10): Extracting archive
  - Installing phar-io/version (3.2.1): Extracting archive
  - Installing phar-io/manifest (2.0.4): Extracting archive
  - Installing myclabs/deep-copy (1.13.3): Extracting archive
  - Installing phpunit/phpunit (11.5.26): Extracting archive
  - Installing phpstan/phpstan-phpunit (2.0.6): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing phpstan/phpdoc-parser (2.1.0): Extracting archive
  - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
  - Installing phpdocumentor/type-resolver (1.10.0): Extracting archive
  - Installing phpdocumentor/reflection-docblock (5.6.2): Extracting archive
  - Installing phpspec/prophecy (v1.22.0): Extracting archive
  - Installing phpspec/prophecy-phpunit (v2.4.0): Extracting archive
  - Installing php-http/promise (1.3.1): Extracting archive
  - Installing php-http/httplug (2.4.1): Extracting archive
  - Installing php-http/guzzle7-adapter (1.1.0): Extracting archive
  - Installing symfony/polyfill-php82 (v1.32.0): Extracting archive
  - Installing ramsey/collection (2.1.1): Extracting archive
  - Installing brick/math (0.13.1): Extracting archive
  - Installing ramsey/uuid (4.9.0): Extracting archive
  - Installing open-telemetry/sem-conv (1.32.1): Extracting archive
  - Installing open-telemetry/context (1.2.1): Extracting archive
  - Installing open-telemetry/api (1.4.0): Extracting archive
  - Installing nyholm/psr7-server (1.1.0): Extracting archive
  - Installing open-telemetry/sdk (1.6.0): Extracting archive
  - Installing google/protobuf (v4.31.1): Extracting archive
  - Installing open-telemetry/gen-otlp-protobuf (1.5.0): Extracting archive
  - Installing open-telemetry/exporter-otlp (1.3.2): Extracting archive
  - Installing mikey179/vfsstream (v1.6.12): Extracting archive
  - Installing micheh/phpcs-gitlab (2.0.0): Extracting archive
  - Installing webflo/drupal-finder (1.3.1): Extracting archive
  - Installing phpstan/phpstan-deprecation-rules (2.0.3): Extracting archive
  - Installing mglaman/phpstan-drupal (2.0.7): Extracting archive
  - Installing lullabot/php-webdriver (v2.0.6): Extracting archive
  - Installing behat/mink (v1.12.0): Extracting archive
  - Installing lullabot/mink-selenium2-driver (v1.7.4): Extracting archive
  - Installing marc-mabe/php-enum (v4.7.1): Extracting archive
  - Installing justinrainbow/json-schema (6.4.2): Extracting archive
  - Installing slevomat/coding-standard (8.19.1): Extracting archive
  - Installing sirbrillig/phpcs-variable-analysis (v2.12.0): Extracting archive
  - Installing drupal/coder (8.3.30): Extracting archive
  - Installing symfony/polyfill-php81 (v1.32.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.32.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.32.0): Extracting archive
  - Installing seld/signal-handler (2.0.2): Extracting archive
  - Installing seld/phar-utils (1.2.1): Extracting archive
  - Installing seld/jsonlint (1.11.0): Extracting archive
  - Installing react/promise (v3.2.0): Extracting archive
  - Installing composer/composer (2.8.9): Extracting archive
  - Installing colinodell/psr-testlogger (v1.3.0): Extracting archive
  - Installing behat/mink-browserkit-driver (v2.2.0): Extracting archive
  - Installing drupal/core-dev (11.2.2)
9 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
90 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
phpstan/extension-installer: Extensions installed
> composer/composer: installed
> composer/pcre: installed
> mglaman/phpstan-drupal: installed
> phpstan/phpstan-deprecation-rules: installed
> phpstan/phpstan-phpunit: installed
PHP CodeSniffer Config installed_paths set to ../../drupal/coder/coder_sniffer,../../sirbrillig/phpcs-variable-analysis,../../slevomat/coding-standard
No security vulnerability advisories found.
Using version ^11.2 for drupal/core-dev





www-data@cli-drupal11-test:/var/www$ composer require 'drupal/experience_builder:^0.5@alpha'
./composer.json has been updated
Running composer update drupal/experience_builder
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/experience_builder ^0.5@alpha -> satisfiable by drupal/experience_builder[0.5.0-alpha1].
    - drupal/experience_builder 0.5.0-alpha1 requires justinrainbow/json-schema ^5.2 -> found justinrainbow/json-schema[5.2.0, ..., 5.3.0] but the package is fixed to 6.4.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.





www-data@cli-drupal11-test:/var/www$ composer require 'drupal/experience_builder:^0.5@alpha' -W
./composer.json has been updated
Running composer update drupal/experience_builder --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/experience_builder ^0.5@alpha -> satisfiable by drupal/experience_builder[0.5.0-alpha1].
    - drupal/experience_builder 0.5.0-alpha1 requires justinrainbow/json-schema ^5.2 -> found justinrainbow/json-schema[5.2.0, ..., 5.3.0] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
penyaskito’s picture

Status: Active » Postponed (maintainer needs more info)

composer require 'drupal/experience_builder:^0.5@alpha' drupal/core-dev -W so it updates to a compatible set of dependencies.

nevergone’s picture

Okay, this is how it works. Is there a way to make it work without downgrading the package?

Project: Experience Builder » Drupal Canvas
Version: 0.x-dev » 1.x-dev

Experience Builder has been renamed to Drupal Canvas in preparation for its beta release. You can now track issues on the new project page.

wim leers’s picture

No, I'm afraid not. There's show-stopping bugs in older versions of that dependency.

Since then, we've bumped the minimum required version even further: #3560455: [upstream] Stream wrapper URIs are incorrectly flagged as invalid (hostname misinterpreted) due to bug in `justinrainbow/json-schema` — bump minimum version to 6.6.2.

But so has Drupal core! So you're less likely to run into the problem you ran into 😊

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.