contenta_jsonapi
contenta_jsonapi copied to clipboard
Proper way to update subrequests module?
Since version 3.0 of Subrequests module has been released, all 2.x versions appears to be not supported (still 2.3 has been released the same day of 3.0). So now my updates status shows Not supported! Error.
Tried this composer require drupal/subrequests:^3.0
But I get
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for drupal/subrequests ^3.0 -> satisfiable by drupal/subrequests[3.x-dev, 3.0.0].
- contentacms/contenta_jsonapi dev-8.x-3.x requires drupal/subrequests ^2.0 -> satisfiable by drupal/subrequests[2.x-dev].
- contentacms/contenta_jsonapi dev-8.x-3.x requires drupal/subrequests ^2.0 -> satisfiable by drupal/subrequests[2.x-dev].
- contentacms/contenta_jsonapi dev-8.x-3.x requires drupal/subrequests ^2.0 -> satisfiable by drupal/subrequests[2.x-dev].
- Conclusion: don't install drupal/subrequests 2.x-dev
- Installation request for contentacms/contenta_jsonapi dev-8.x-3.x -> satisfiable by contentacms/contenta_jsonapi[dev-8.x-3.x].
Installation failed, reverting ./composer.json to its original content.
Editing Contenta's own composer.json changing required subrequests version from ^2.0 to ^3.0 won't make effect, somehow composer gets original dependency to ^2.0.
Any help?
Edit your compose.json:
"require": {
"drupal/subrequests": "2.0 as 3.0"
},
clear the cache
composer clearcache
deleting the composer.lock
Run composer install