banbuilder icon indicating copy to clipboard operation
banbuilder copied to clipboard

composer error - Could not parse version constraint

Open plindsay opened this issue 5 years ago • 1 comments

When I try to add this to my project via composer I always receive this RuntimeException -

Could not load package mews/purifier in http://repo.packagist.org: [UnexpectedValueException] Could not parse version constraint ~4.*: Invalid version string "~4.*"

I'm not sure how to debug this. Is there a workaround?

Thanks

plindsay avatar Sep 18 '20 09:09 plindsay

For anyone else running into this issue, composer self-update did the trick for me

plindsay avatar Sep 18 '20 09:09 plindsay