Getting Error While Installing module through composer I am using drupal 10.3.8 and using Inline Entity Form module the error is as below /Motivation
Getting Error While Installing module through composer I am using drupal 10.3.8 and using Inline Entity Form module the error is as below /Motivation</h3>
<code> ddev composer require 'drupal/ief_complex_open:^1.0'
./composer.json has been updated
Running composer update drupal/ief_complex_open
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/ief_complex_open ^1.0 -> satisfiable by drupal/ief_complex_open[1.0.0, 1.0.1].
- drupal/ief_complex_open 1.0.0 requires drupal/core ^8.8 || ^9 -> found drupal/core[8.8.0, ..., 8.9.20, 9.0.0, ..., 9.5.11] but the package is fixed to 10.3.8 (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.
- drupal/ief_complex_open 1.0.1 requires drupal/inline_entity_form ^1 -> found drupal/inline_entity_form[1.0.0-rc1, ..., 1.0.0-rc17] but it conflicts with your root composer.json require (^3.0@RC).
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.
Composer [require drupal/ief_complex_open:^1.0] failed, composer command failed: exit status 2. stderr=
Steps to reproduce
install and enable Inline Entity Form module before installing ief_complex_open and then install composer require 'drupal/ief_complex_open:^1.0'
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | ief complex open.PNG | 97.63 KB | vinayakmk47 |
Comments
Comment #2
vinayakmk47Comment #3
mlncn commented@vinayakmk47 This is fixed in the @dev version. Fixed in issue #3409822: require drupal/inline_entity_form ^1 || ^3
Please try that out (
composer require 'drupal/ief_complex_open:1.0.x-dev@dev') and if it works we'll make a stable release.Thanks!
Comment #4
mlncn commentedComment #5
vinayakmk47Hi mlncn,
Thank you for your quick response and for pointing me to the fix. I tested it using the command:
composer require 'drupal/ief_complex_open:1.0.x-dev@dev'
Everything is working perfectly now! I really appreciate your help in resolving this issue. Looking forward to the stable release.
Thanks again for your support!