Commerce Compozer telepítési hiba

simont képe

Ismerkedem a Composerrel. Egy webáruház létrehozásán fáradozom.
Composerrel szeretném feltelepíteni a Commerce Core modult de hibaüzenetet kapok és nem települ a modul.
Függőségben van az Inline Entity Form modullal, aminek nincs stabil verziója csak RC. De ezt a verziót nem tudom telepíteni (se alfát, se betát).
Úgy látom, csak stabil verziót tud telepíteni a Composer.
Így most nem tudok tovább lépni.

Commerce Core telepítésnél Compozer hibaüzenet:

  1. PS D:\xampp\htdocs\drupal> composer require 'drupal/commerce:^2.31'
  2. The "2.31" constraint for "drupal/commerce" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
  3. Info from https://repo.packagist.org: #StandWithUkraine
  4. ./composer.json has been updated
  5. Running composer update drupal/commerce
  6. Loading composer repositories with package information
  7. Updating dependencies
  8. Your requirements could not be resolved to an installable set of packages.
  9.  
  10. Problem 1
  11. - Root composer.json requires drupal/commerce 2.31 -> satisfiable by drupal/commerce[2.31.0].
  12. - drupal/commerce 2.31.0 requires drupal/inline_entity_form ^1.0@RC -> found drupal/inline_entity_form[dev-1.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x)] but it does not match your minimum-stability.
  13.  
  14.  
  15. Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Inline Entity Form telepítésnél Compozer hibaüzenet:

  1. PS D:\xampp\htdocs\drupal> composer require 'drupal/inline_entity_form:^1.0@RC'
  2. ./composer.json has been updated
  3. Running composer update drupal/inline_entity_form
  4. Loading composer repositories with package information
  5. Updating dependencies
  6. Your requirements could not be resolved to an installable set of packages.
  7.  
  8. Problem 1
  9. - Root composer.json requires drupal/inline_entity_form 1.0@RC, found drupal/inline_entity_form[dev-1.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x)] but it does not match the constraint.
  10.  
  11.  
  12. Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Próbáltam keresni megoldást de nem találtam.
Van-e ötletetek hogyan tovább?
Előre is köszönöm a válaszokat!

XAMPP Drupal 9.4.7 PHP 8.1.6

Melyik modulhoz, modulokhoz kapcsolódik a téma?: 
Drupal verzió: 
nevergone képe

Nekem feltelepül Drupal 9.4.x-re:

  1. composer require 'drupal/inline_entity_form:^1.0@RC'
  2. ./composer.json has been updated
  3. Running composer update drupal/inline_entity_form
  4. Gathering patches from patch file.
  5. Loading composer repositories with package information
  6. Updating dependencies
  7. Lock file operations: 1 install, 0 updates, 0 removals
  8. - Locking drupal/inline_entity_form (1.0.0-rc14)
  9. Writing lock file
  10. Installing dependencies from lock file (including require-dev)
  11. Package operations: 1 install, 0 updates, 0 removals
  12. - Downloading drupal/inline_entity_form (1.0.0-rc14)
  13. Gathering patches from patch file.
  14. Gathering patches for dependencies. This might take a minute.
  15. - Installing drupal/inline_entity_form (1.0.0-rc14): Extracting archive
  16. Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
  17. Package kint-php/kint-js is abandoned, you should avoid using it. No replacement was suggested.
  18. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
  19. Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
  20. Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
  21. Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
  22. Generating autoload files
  23. 99 packages you are using are looking for funding.
  24. Use the `composer fund` command to find out more!

A composer.json fájlodban a mi a "minimum-stability" és a "prefer-stable" értéke? Próbáld ki ezeket:

  1. "minimum-stability": "dev",
  2. "prefer-stable": true,
0
0
simont képe

Köszi a gyors választ!

a "minimum stability: "true" értékre volt állítva
Átírtam, most így néz ki:

  1. "minimum-stability": "dev",
  2. "prefer-stable": true,

Sajnos így is hibát ír ki:

  1. PS D:\xampp\htdocs\drupal> composer require 'drupal/inline_entity_form:^1.0@RC'
  2. ./composer.json has been updated
  3. Running composer update drupal/inline_entity_form
  4. Loading composer repositories with package information
  5. Updating dependencies
  6. Your requirements could not be resolved to an installable set of packages.
  7.  
  8. Problem 1
  9. - Root composer.json requires drupal/inline_entity_form 1.0@RC, found drupal/inline_entity_form[dev-1.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x)] but it does not match the constraint.
  10.  
  11.  
  12. Installation failed, reverting ./composer.json and ./composer.lock to their original content.
0
0

SimonT

simont képe

Találtam egy megoldást itt: https://www.drupal.org/project/commerce/issues/3197048#comment-14669908

composer require drupal/inline_entity_form @RC --no-update

ezután pedig:

composer require "drupal/commerce"

Így már fel tudtam telepíteni a Commerce Core-t.

2
0

SimonT