Error when trying to install or update package
AdrianOlteanu opened this issue · 2 comments
AdrianOlteanu commented
Hi,
I am getting an error when I'm trying to update or install the package with composer.
composer require kawankoding/laravel-fcm
[RuntimeException]
Could not load package kawankoding/laravel-fcm in http://repo.packagist.org: [UnexpectedValueException] Could not p
arse version constraint ~5.1.x: Invalid version string "~5.1.x"
[UnexpectedValueException]
Could not parse version constraint ~5.1.x: Invalid version string "~5.1.x"
Thank you.
imagina commented
Same issue here!
imagina commented
Solved with a "composer self-update". Probably a composer bug...