Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install the package #17

Open
simpledev opened this issue May 29, 2017 · 8 comments
Open

Can't install the package #17

simpledev opened this issue May 29, 2017 · 8 comments

Comments

@simpledev
Copy link

Hi, when I'm trying to install the package there is an error

Problem 1 - Installation request for symfony/psr-http-message-bridge (locked at v1.0.0) -> satisfiable by symfony/psr-http-message-bridge[v1.0.0]. - jmrieger/onesignal-laravel 1.0.0 requires symfony/psr-http-message-bridge ^0.2.0 -> satisfiable by symfony/psr-http-message-bridge[v0.2]. - jmrieger/onesignal-laravel 1.0.1 requires symfony/psr-http-message-bridge ^0.2.0 -> satisfiable by symfony/psr-http-message-bridge[v0.2]. - jmrieger/onesignal-laravel 1.0.2 requires symfony/psr-http-message-bridge ^0.2.0 -> satisfiable by symfony/psr-http-message-bridge[v0.2]. - jmrieger/onesignal-laravel 1.0.3 requires symfony/psr-http-message-bridge ^0.2.0 -> satisfiable by symfony/psr-http-message-bridge[v0.2]. - jmrieger/onesignal-laravel 1.0.4 requires symfony/psr-http-message-bridge ^0.2.0 -> satisfiable by symfony/psr-http-message-bridge[v0.2]. - jmrieger/onesignal-laravel 1.0.5 requires symfony/psr-http-message-bridge ^0.2.0 -> satisfiable by symfony/psr-http-message-bridge[v0.2]. - Conclusion: don't install symfony/psr-http-message-bridge v0.2 - Installation request for jmrieger/onesignal-laravel ^1.0 -> satisfiable by jmrieger/onesignal-laravel[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5].

How can I resolve it ? Thank's

@jmrieger
Copy link
Owner

What version of Laravel or Lumen are you running?

@simpledev
Copy link
Author

Laravel Framework 5.4.23

@jmrieger
Copy link
Owner

Can you try changing the requirement in composer.json:10 to the following:
"symfony/psr-http-message-bridge": ">=0.2.0"

@IlCallo
Copy link

IlCallo commented Nov 30, 2017

For pre-1.0 versions it also acts with safety in mind and treats ^0.3 as >=0.3.0 <0.4.0.

source

Many get stuck on this behaviour.

If it's not a problem for @jmrieger (which seems to have dropped the maintenance of this package), I'm forking the repository under my company account, merging all interesting commits of all forks and start maintaining it.

@IlCallo
Copy link

IlCallo commented Dec 4, 2017

I created a new repository, added some fixes and integrated many features of some forks of this project, if anyone is interested

@xembill
Copy link

xembill commented Feb 27, 2018

same error for me in laravel 5.6

@IlCallo
Copy link

IlCallo commented Feb 27, 2018

Try the version I linked, let me know if it works

@xembill
Copy link

xembill commented Feb 27, 2018

composer require dreamonkey/laravel-onesignal-rest-api
that repo works successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants