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

Composer install issue: #38

Closed
greydnls opened this issue Apr 2, 2015 · 4 comments
Closed

Composer install issue: #38

greydnls opened this issue Apr 2, 2015 · 4 comments

Comments

@greydnls
Copy link
Contributor

greydnls commented Apr 2, 2015

When I run composer require league/route I get the following:

  Problem 1
    - Conclusion: don't install league/route 1.1.0
    - don't install league/route 1.0.x-dev|install league/route dev-master
    - Conclusion: don't install league/route dev-master
    - Conclusion: don't install league/route 1.0.1
    - Installation request for league/route ~1.0@dev -> satisfiable by league/route[1.0.0, 1.0.1, 1.1.0, 1.0.x-dev].
    - Conclusion: remove nikic/fast-route v0.2.0
    - league/route 1.0.0 requires nikic/fast-route ~0.3 -> satisfiable by nikic/fast-route[v0.3.0, v0.4.0].
    - Can only install one of: nikic/fast-route[v0.3.0, v0.2.0].
    - Can only install one of: nikic/fast-route[v0.4.0, v0.2.0].
    - Installation request for nikic/fast-route == 0.2.0.0 -> satisfiable by nikic/fast-route[v0.2.0].

Thoughts?

@philipobenito
Copy link
Member

Most likely clashes with another dependency you have already?
On 2 Apr 2015 17:51, "Kayla Daniels" notifications@github.com wrote:

When I run composer require league/route I get the following:

Problem 1
- Conclusion: don't install league/route 1.1.0
- don't install league/route 1.0.x-dev|install league/route dev-master
- Conclusion: don't install league/route dev-master
- Conclusion: don't install league/route 1.0.1
- Installation request for league/route ~1.0@dev -> satisfiable by league/route[1.0.0, 1.0.1, 1.1.0, 1.0.x-dev].
- Conclusion: remove nikic/fast-route v0.2.0
- league/route 1.0.0 requires nikic/fast-route ~0.3 -> satisfiable by nikic/fast-route[v0.3.0, v0.4.0].
- Can only install one of: nikic/fast-route[v0.3.0, v0.2.0].
- Can only install one of: nikic/fast-route[v0.4.0, v0.2.0].
- Installation request for nikic/fast-route == 0.2.0.0 -> satisfiable by nikic/fast-route[v0.2.0].

Thoughts?


Reply to this email directly or view it on GitHub
#38.

@philipobenito
Copy link
Member

Have you already defined a dependency on FastRoute?

Installation request for nikic/fast-route == 0.2.0.0 -> satisfiable by nikic/fast-route[v0.2.0].

@greydnls
Copy link
Contributor Author

greydnls commented Apr 2, 2015

I hadn't. I'm not sure what I did, but I scrapped the directory and did a composer init, defined league/route as a dep and now it's working fine. I'll go ahead and close this.

@greydnls greydnls closed this as completed Apr 2, 2015
@philipobenito
Copy link
Member

👍 strange one, usually only get that error if there is a mismatch on version numbers for the same dependency being defined twice somewhere in the cycle

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

2 participants