Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Error Message When There Are No Matching Versions #117

Closed
freshleafmedia opened this issue Nov 20, 2024 · 3 comments · Fixed by #124
Closed

Unexpected Error Message When There Are No Matching Versions #117

freshleafmedia opened this issue Nov 20, 2024 · 3 comments · Fixed by #124
Assignees
Labels
bug Something isn't working
Milestone

Comments

@freshleafmedia
Copy link

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."

@asgrim asgrim added the enhancement New feature or request label Nov 20, 2024
@asgrim
Copy link
Collaborator

asgrim commented Nov 20, 2024

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!

@asgrim asgrim self-assigned this Nov 20, 2024
@asgrim asgrim added bug Something isn't working and removed enhancement New feature or request labels Nov 20, 2024
@derickr
Copy link
Member

derickr commented Nov 20, 2024 via email

@asgrim
Copy link
Collaborator

asgrim commented Nov 21, 2024

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants