laravel-firebase-sync icon indicating copy to clipboard operation
laravel-firebase-sync copied to clipboard

Laravel Firebase Sync Composer Failure

Open iamonuwa opened this issue 9 years ago • 7 comments

Anytime I run composer require mpociot/laravel-firebase-sync,

I get Problem 1 - Installation request for mpociot/laravel-firebase-sync ~1.0 -> satisfiable by mpociot/laravel-firebase-sync[1.0.0]. - mpociot/laravel-firebase-sync 1.0.0 requires ktamas77/firebase-php ^2.2 -> satisfiable by ktamas77/firebase-php[2.2.0] but these conflict with your requirements or minimum-stability. What do I do? screenshot from 2016-07-01 12 53 36

iamonuwa avatar Jul 01 '16 11:07 iamonuwa

Sorry for the late reply - I was on vacation.

Can you show me what else is in your composer.json file?

mpociot avatar Jul 16 '16 22:07 mpociot

laravel

That's my composer.json file...

iamonuwa avatar Jul 18 '16 09:07 iamonuwa

Please remove your ktamas77/firebase-php dependency in your composer.json.

Your composer.json file requires the dev-master branch of the ktamas77/firebase-php package, while my firebase-sync package uses a stable version. That's why both versions conflict and you can't install it.

mpociot avatar Jul 18 '16 09:07 mpociot

So how should I do it... Screenshot will be welcomed...

iamonuwa avatar Jul 18 '16 09:07 iamonuwa

Just remove ktamas77/firebase-php from your composer.json file and run composer update

mpociot avatar Jul 18 '16 09:07 mpociot

I just updated. Thank you...

iamonuwa avatar Jul 18 '16 10:07 iamonuwa

error Encountered this error while running the demo on your site...

iamonuwa avatar Jul 18 '16 10:07 iamonuwa