Maledetto composer
come faccio ad installare un modulo alpha o RC?
visto che tutto finisce sempre con "but it does not match the constraint." :(
ho provato a cambiare "minimum-stability": "stable", a "minimum-stability": "dev",
ma è come se non facessi niente.
composer require 'drupal/tvi:^2.0@alpha' ./composer.json has been updated Running composer update drupal/tvi 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/tvi 2.0@alpha (exact version match), found drupal/tvi[dev-1.x, dev-2.0.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x), 2.0.0-alpha1, 2.0.0-alpha2, 2.0.x-dev (alias of dev-2.0.x)] but it does not match the constraint. Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Risposte
composer require
composer require 'drupal/tvi:^2.0@alpha'
NO!
composer require drupal/tvi:^2.*
SI!
e installa proprio drupal/tvi (2.0.0-alpha2)
se qualcuno mi spiega... :)