laravel-fcm icon indicating copy to clipboard operation
laravel-fcm copied to clipboard

Error when trying to install or update package

Open AdrianOlteanu opened this issue 4 years ago • 2 comments

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.

AdrianOlteanu avatar Sep 14 '20 13:09 AdrianOlteanu

Same issue here!

imagina avatar Sep 15 '20 16:09 imagina

Solved with a "composer self-update". Probably a composer bug...

imagina avatar Sep 15 '20 22:09 imagina