Problem/Motivation
Since https://www.drupal.org/node/3295096, this happens:
- Root composer.json requires drupal/clever_reach ^1.8 -> satisfiable by drupal/clever_reach[1.8.0].
- drupal/clever_reach 1.8.0 requires drupal/field * -> satisfiable by drupal/core[8.0.0-beta8, ..., 8.9.x-dev, 9.0.0-alpha1, ..., 9.4.3, 10.0.0-alpha1, ..., 10.0.0-alpha6].
Steps to reproduce
Install Drupal core 9.4.5 using composer, then try installing clever_reach.
Proposed resolution
Update composer.json.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #2
wim leersJust the
*.info.ymldeclarations are sufficient —composer.jsondependencies should be for packages, not modules.Comment #3
wim leersPlease also credit @effulgentsia, without whom I'd never have found this! 😬
Comment #4
achikas commentedI added the patch file, but cant still update from drupal 9.4.4 to 9.4.7
i get:
Problem 1
- drupal/clever_reach is locked to version 1.8.0 and an update of this package was not requested.
- drupal/clever_reach 1.8.0 requires drupal/field * -> satisfiable by drupal/core[9.2.9, ..., 9.4.3].
when i uninstall the clever_reach module, then i can successful update, but this is not an option because i lost all the depending database tables.
any ideas how to update?
Comment #5
volker23 commentedI tried the patch as well, it leaves the comma after
"drupal/core": "^8 || ^9",which leads to a[warning] Invalid json in modules/contrib/clever_reach/composer.jsonand probably does not update composer.lock file resulting in the conflict from #4.
Anyway, like it is, it does not work.
Comment #6
cleverreach commentedHey @Wim Leers,
we've fixed the issue and released a new version. Please check out https://www.drupal.org/project/clever_reach/releases/8.x-1.9