Skip to content

Composer require error #202

Open
Open
@monaw

Description

@monaw

Description of the bug
I am running into a very similar error that was reported in this closed issue:

$ composer require acquia-pso/dst-entity-generate

In PackageDiscoveryTrait.php line 327:
                                                                               
  Could not find a version of package acquia-pso/dst-entity-generate matching  
   your minimum-stability (stable). Require it with an explicit version const  
  raint allowing its desired stability.
[...]

and i did do the solution recommended for the previous issue, specifically add the repo by modifying the repositories section of composer.json:

$ composer config repositories.acquia-pso vcs https://github.com/acquia-pso/dst-entity-generate

which generated the following entry in my composer.json:

    "repositories": {
        "acquia-pso": {
            "type": "vcs",
            "url": "https://github.com/acquia-pso/dst-entity-generate"
        },
        "0": {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    },

But the composer require command is still failing with the same error.

what did i miss? i admit i'm just a casual user of composer so maybe there is something about composer that i don't understand? anyone's help is greatly appreciated!

How to reproduce the bug?
I followed the steps outline in the documentation...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions