cpriego / valet-linux

A fork of Laravel Valet to work in Linux.
MIT License
1.35k stars 155 forks source link

Bug: Cannot install version greater than 2.2.32 #398

Closed FaycalBorsali closed 1 year ago

FaycalBorsali commented 1 year ago

Basic info

Distro (Name and version) PHP Version Valet version
Ubuntu 22.04 8.1.12 2.2.32

What is the problem? I cannot install a valet-linux version greater than 2.2.32

What was supposed to happen? I wanted to update valet-linux to the latest version (or at least 2.2.35)

How to reproduce this? I tried composer global update and composer global require cpriego/valet-linux@2.2.35 and composer global require cpriego/valet-linux@2.2.36

What actually happened? When running update, I get Nothing to install, update or remove

When trying the named version, I get [InvalidArgumentException] Could not find a matching version of package cpriego/valet-linux@2.2.35. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev).

(At first, my minimum stability was stable and I changed it to dev just to test this)

What is the solution? I don't know, but I've been looking in the repo and noticed that there is some work done in the versioning part of the package. That might have caused this but I am not sure about this at all

Sources /