I'm getting back into development on an old Craft site I've not touched in a while. Since I last worked on the site, I upgraded composer (locally) from 1 to 2. So when I pull the latest from the git repo and try to run composer install, I get the following errors:
PS E:\User Data\Michael\Projects\IJMCA> composer install
The "yiisoft/yii2-composer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
The "craftcms/plugin-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the
"--no-plugins" option.
PHP Fatal error: Class UpdateHelper\ComposerPlugin contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Composer\Plugin\PluginInterface::deactivate, Composer\Plugin\PluginInterface::uninstall) in E:\User Data\Michael\Projects\IJMCA\vendor\kylekatarnls\update-helper\src\UpdateHelper\ComposerPlugin.php on line 11
Fatal error: Class UpdateHelper\ComposerPlugin contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Composer\Plugin\PluginInterface::deactivate, Composer\Plugin\PluginInterface::uninstall) in E:\User Data\Michael\Projects\IJMCA\vendor\kylekatarnls\update-helper\src\UpdateHelper\ComposerPlugin.php on line 11
Steps to reproduce
Be assigned to this project
Have the wrong composer version installed?
¯_(ツ)_/¯
Additional info
Craft version: Not 100% sure, but package.json shows 3.5.14.
PHP version: 7.4.16
Database driver & version:
mysql -V
C:\xampp\mysql\bin\mysql.exe Ver 15.1 Distrib 10.4.18-MariaDB, for Win64 (AMD64), source revision 53123dfa3e365138591fd2f160c6057aca00a3e6
Description
I'm getting back into development on an old Craft site I've not touched in a while. Since I last worked on the site, I upgraded composer (locally) from 1 to 2. So when I pull the latest from the git repo and try to run
composer install
, I get the following errors:Steps to reproduce
Additional info
package.json
shows 3.5.14.package.json
: