Open jsuria opened 3 years ago
I have the same issues. I try to update composer.json but without success
Same issue here. Dependencies are expecting Composer 1.0.0 but Composer is past 2.0.0 now. Tried dropping down to Composer 1.0.0 and tried again but then I get this error.
Same issue here. Dependencies are expecting Composer 1.0.0 but Composer is past 2.0.0 now. Tried dropping down to Composer 1.0.0 and tried again but then I get this error.
try composer version 1.5
Composer 1.6.3 is the oldest I can rollback to and it doesn't seem to work
I've had the same issue when trying to install a plugin from WP. Doing the following worked for me.
composer self-update 1.10.22
rm -rf vendor
composer require wpackagist-plugin/<plugin-name>
Or replace composer require <plugin>
with composer install
. Haven't tried it with composer update but this version seems to work more than the other ones have..
If you want to update the WordPress version first roll-back your composer (if you have Composer 2) following the instructions above and composer require johnpbloch/wordpress:5.8.1 johnpbloch/wordpress-core:5.8.1
to update your WordPress.
You can change to any specific version you want by editing 5.8.1 numbers.
Description of your issue
Need to update packages in composer.json to latest versions, especially Wordpress and subsequently the plugins themselves. Packages are currently locked to specific versions. Ran composer update using latest version of composer.phar produces dependency warnings.
Steps to Reproduce
Just try to do a composer update using v2 of composer. Warnings should appear.
Other Information
Git Commit/Version: latest
Any suggestions? Thanks!