$ composer require drupal/disqus^8.1


  [InvalidArgumentException]
  Could not find package drupal/disqus^8.1 at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability

Then this...

$ composer require drupal/disqus
Using version ^7.1 for drupal/disqus

Is the package info wrong?!

$ composer show -a drupal/disqus
name     : drupal/disqus
descrip. : .
keywords :
versions : 1.x-dev, 1.0.0-rc1, 1.0.0-beta2, 1.0.0-beta1, dev-1.x
type     : drupal-module
license  : GPL-2.0+
source   : [git] https://git.drupal.org/project/disqus 544f6689320eb7a31503a93c8d20ee8542404c16
dist     : []
names    : drupal/disqus

support
source : http://cgit.drupalcode.org/disqus

requires
drupal/core *
drexarj/disqus-php dev-master

Comments

nicholasThompson created an issue. See original summary.

nicholasThompson’s picture

Issue summary: View changes

Ok this works:

$ composer require drupal/disqus:1.0.0-rc1
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Updating drupal/disqus (dev-1.x 544f668 => 1.0.0-rc1)
    Checking out 8.x-1.0-rc1

Writing lock file
Generating autoload files

However all my other contrib uses a different number versioning?

    "require": {
        "composer/installers": "^1.0.20",
        "cweagans/composer-patches": "~1.0",
        "drupal/core": "~8.1.0",
        "drush/drush": "~8.0",
        "drupal/console": "~0.10",
        "drupal/migrate_upgrade": "8.2.0-beta1",
        "drupal/google_analytics": "8.2.1",
        "drupal/devel": "8.1.x-dev",
        "drupal/field_group": "8.1.0-rc4",
        "drupal/filefield_sources": "8.0.x-dev#a011c75397247c063ed98dd5118d1daa1c3c5c8d",
        "drupal/toolbar_visibility": "8.1.2",
        "drupal/twig_tweak": "8.1.3",
        "drupal/metatag": "8.1.0-beta10",
        "drupal/sitemap": "8.1.2",
        "drupal/token": "8.1.0-beta1",
        "drupal/disqus": "1.0.0-rc1"
    
marvil07’s picture

Category: Bug report » Support request
Status: Active » Fixed
Issue tags: -Composer

It seems like it was about passing composer the right argument, closing now.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.