Skip to content

Unexpected Error Message When There Are No Matching Versions #117

Closed

Description

@freshleafmedia

I tried to install xdebug/xdebug as is shown in the docs and xdebug/xdebug:^3.4 as is shown in the CLI example but received the message:

20241119-1729

I believe the problem is that there is no stable version but this message is identical to if the package doesn't exist at all.

The message could perhaps read something like: "Unable to find a stable version of xdebug/xdebug, try installing a specific version."

Activity

  1. asgrim commented on Nov 20, 2024

    @asgrim
    Contributor

    Dang, I'd addressed this previously to output the message from the Composer resolution before (in #53) but I think that change may have been lost in #83. Thanks for bringing this up, will fix this ASAP, as I agree it's not very clear!

  2. self-assigned this
    on Nov 20, 2024
  3. added
    bugSomething isn't working
    and removed
    enhancementNew feature or request
    on Nov 20, 2024
  4. derickr commented on Nov 20, 2024

    @derickr
    Member
  5. asgrim commented on Nov 21, 2024

    @asgrim
    Contributor

    Turns out, the changes were still there; this is an edge case where there is no versions for the stability, so Composer doesn't really have much to say regarding dependency resolution; that said, I've improved the messaging by writing out the stability determine in #124 , which will hopefully guide users to understanding the issue better :)

  6. added this to the 0.3.0 milestone on Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions