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.

CommentFileSizeAuthor
#2 3304566-2.patch338 byteswim leers

Comments

Wim Leers created an issue. See original summary.

wim leers’s picture

Status: Active » Needs review
StatusFileSize
new338 bytes

Just the *.info.yml declarations are sufficient — composer.json dependencies should be for packages, not modules.

wim leers’s picture

Please also credit @effulgentsia, without whom I'd never have found this! 😬

achikas’s picture

I 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?

volker23’s picture

I 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.json
and probably does not update composer.lock file resulting in the conflict from #4.

Anyway, like it is, it does not work.

cleverreach’s picture

Version: 8.x-1.8 » 8.x-1.9
Assigned: Unassigned » cleverreach
Status: Needs review » Fixed

Hey @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

Status: Fixed » Closed (fixed)

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