Today I struggled with updating the library in the project. I just raised the version of this package, and now I was constantly getting:

  Problem 1
    - The requested package x/yz (locked at 1.2.3, required as ^1.2.4) is satisfiable by x/yz[1.2.3] but these conflict with your requirements or minimum-stability.

I couldn’t understand anything at all because there were no stability changes, no sub-dependencies, and so on. I accidentally noticed a typo in my command:

composer update x/yc --ignore-platform-reqs

(the letter c instead of z at the end of the library name)

But there is no such typo in the error message, and the error is not about a missing dependency.

If you are experiencing the same problem but there is no typo, please read the article on the topic (ru).

Categorized in:

Tagged in:

,