Can't install on Drupal 11

Created on 5 August 2024, 8 months ago
Updated 19 August 2024, 8 months ago
composer require 'drupal/metatag:^2.0'
No composer.json in current directory, do you want to use the one at /workspaces/sqlite? [Y,n]? y
Always want to use the parent dir? Use "composer config --global use-parent-dir true" to change the default.
./composer.json has been updated
Running composer update drupal/metatag
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires drupal/metatag ^2.0 -> satisfiable by drupal/metatag[2.0.0, 2.0.1].
    - drupal/metatag[2.0.0, ..., 2.0.1] require drupal/core ^9.4 || ^10 -> found drupal/core[9.4.0, ..., 9.5.11, 10.0.0, ..., 10.3.1] but the package is fixed to 11.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
../vendor/drush/drush/drush status
Drupal version   : 11.0.0                                                     
Site URI         : http://default                                             
DB driver        : sqlite                                                     
DB port          :                                                            
DB username      :                                                            
DB name          : /workspaces/sqlite/web/core/sites/default/files/.ht.sqlite 
Database         : Connected                                                  
Drupal bootstrap : Successful                                                 
Default theme    : olivero                                                    
Admin theme      : claro                                                      
PHP binary       : /usr/local/bin/php                                         
PHP OS           : Linux                                                      
PHP version      : 8.3.10                                                     
Drush script     : /workspaces/sqlite/vendor/drush/drush/drush                
Drush version    : 13.0.0.0                                                   
Drush temp       : /tmp                                                       
Drush configs    : /workspaces/sqlite/vendor/drush/drush/drush.yml            
Install profile  : standard                                                   
Drupal root      : /workspaces/sqlite/web                                     
Site path        : sites/default                                              
Files, Public    : sites/default/files                                        
Files, Temp      : /tmp 
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇦Ukraine podarok Ukraine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024