kawankoding / laravel-fcm

Firebase Cloud Messaging (FCM) sender for Laravel
172 stars 56 forks source link

Error when trying to install or update package #49

Open AdrianOlteanu opened 3 years ago

AdrianOlteanu commented 3 years ago

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 3 years ago

Same issue here!

imagina commented 3 years ago

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