php / pie

The PHP Installer for Extensions
BSD 3-Clause "New" or "Revised" License
508 stars 16 forks source link

Unexpected Error Message When There Are No Matching Versions #117

Open freshleafmedia opened 2 hours ago

freshleafmedia commented 2 hours ago

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 commented 2 hours ago

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!

derickr commented 1 hour ago

Or wait until next week and there will be a 3.4.0 release :-)