- Issue created by @drupaldope
- 🇮🇳India samir_shukla bareilly
Hi, I was able to install the version 2.0@beta without any issues via composer. Can you try updating your composer and then again install as there sometimes can be version constraints.
>composer require drupal/viewsreference:2.0@beta ./composer.json has been updated Running composer update drupal/viewsreference Gathering patches for root package. 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/viewsreference 2.0@beta (exact version match), found drupal/viewsreference[dev-1.x, dev-2.x, 1.0.0-alpha1, ..., 1.x-dev (alias of dev-1.x), 2.0.0-alpha1, ..., 2.x-dev (alias of dev-2.x)] but it does not match the constraint. Installation failed, reverting ./composer.json and ./composer.lock to their original content.
after about 15 tries, I found out that the correct name is " 2.0.0-beta1 "
- Status changed to Closed: cannot reproduce
11 months ago 9:32pm 17 January 2024 - leymannx Berlin
You forgot the
^
character. It's trying to install an exact version otherwise, one that doesn't exist. The correct command can be found on the project page, you just need to copy it.composer require 'drupal/viewsreference:^2.0@beta'