Closed dhinakaran60 closed 3 years ago
Tbh, I do not think this issue is related to this module directly, since Composer complains about composer/semver
which is not a direct dependency of this module.
Try composer require drupal/swagger_ui_formatter:^3.0 --no-update && composer update drupal/swagger_ui_formatter --with-dependencies
Thanks! couple question for my clarity:
For your info
I did try
$ composer require drupal/swagger_ui_formatter:^3.0 --no-update && composer update drupal/swagger_ui_formatter --with-dependencies Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 ./composer.json has been updated Gathering patches for root package. Loading composer repositories with package information Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Thank you Dhina
composer show drupal/core-recommended
?
How about?
composer require drupal/swagger_ui_formatter:^3.0 --no-update && composer update drupal/swagger_ui_formatter drupal/core-recommended --with-dependencies
okay, so the problem is that your project is not using drupal/core-recommended
package which a best practice, please update the project before you would update Swagger UI FF.
https://www.drupal.org/docs/updating-drupal/migrating-the-composer-project-for-drupal-earlier-than-880
Let me check . Thank you
hm, it seems we caught an Drupal.org packagist bug... https://www.drupal.org/project/drupal/issues/3197662
@dhinakaran60 we created a new release that fixes the above mentioned Drupal packaging issue, please try again. (drupal/core-recommended
is still a requirement)
@mxr576 thx
After the security update of drupal core Drupal core 8.9.13
Not supported! Swagger UI Field Formatter 8.x-2.4Recommended version:8.x-3.1 (2021-Feb-05)
DownloadRelease notes CompatibleRequires Drupal core: 8.9.13 to 9.1.4Includes:
Also when i try to update 8.x.3.1
$ composer require 'drupal/swagger_ui_formatter:^3.1' Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 ./composer.json has been updated Gathering patches for root package. Loading composer repositories with package information Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation failed, reverting ./composer.json to its original content.
Can you please help on this