Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Symfony 2.1 composer.phar - find kertz/twitteroauth ?? #52

Open
Bubelbub opened this issue Apr 1, 2013 · 28 comments
Open

Symfony 2.1 composer.phar - find kertz/twitteroauth ?? #52

Bubelbub opened this issue Apr 1, 2013 · 28 comments

Comments

@Bubelbub
Copy link

Bubelbub commented Apr 1, 2013

Hey guys,

i have a problem with 'php composer.phar update "kertz/twitteroauth"'.

Problem 1
    - The requested package kertz/twitteroauth could not be found in any version, there may be a typo in the package name.
Problem 2
    - Installation request for friendsofsymfony/twitter-bundle * -> satisfiable by friendsofsymfony/twitter-bundle 1.0.0.
    - friendsofsymfony/twitter-bundle 1.0.0 requires kertz/twitteroauth * -> no matching package found.

What i'm doing wrong?
-> tested git submodules - doesnt work

@stof
Copy link
Member

stof commented Apr 2, 2013

the issue is probably the minimum stability (as suggested by the next part of the composer error message)

@Bubelbub
Copy link
Author

Bubelbub commented Apr 2, 2013

And how could i solve the Problem?

In Few Minutes i Check if there is a Parameter for ignoring the Minimum Version.
But what if there is no Parameter?

@Baachi
Copy link

Baachi commented Apr 3, 2013

@Bubelbub Add this to your composer.json:

"require": {
    "kertz/twitteroauth": "dev-master@dev"
}

@dodev34
Copy link

dodev34 commented May 4, 2013

Add this on your composer. Its work for me!
"minimum-stability": "dev"

@inesbd
Copy link

inesbd commented Aug 2, 2013

I have the same problem, when i run this command php composer.phar update friendsofsymfony/twitter-bundle
this error is shown:

Problem 1
- The requested package minimum-stability could not be found in any version,
there may be a typo in the package name.
Problem 2
- Installation request for friendsofsymfony/twitter-bundle * -> satisfiable
by friendsofsymfony/twitter-bundle[1.0.0].
- Conclusion: remove symfony/symfony v2.2.4
- friendsofsymfony/twitter-bundle 1.0.0 requires symfony/security-bundle 2.0
.* -> satisfiable by symfony/symfony[2.0.7, v2.0.10, v2.0.11, v2.0.12, v2.0.13,
v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22,
v2.0.23, v2.0.9], symfony/security-bundle[2.0.7, v2.0.10, v2.0.12, v2.0.13, v2.
0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2
.0.23, v2.0.9].
- Can only install one of: symfony/symfony[v2.2.4, 2.0.7].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.10].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.11].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.12].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.13].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.14].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.15].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.16].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.17].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.18].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.19].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.20].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.21].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.22].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.23].
- Can only install one of: symfony/symfony[v2.2.4, v2.0.9].
- don't install symfony/security-bundle 2.0.7|don't install symfony/symfony
v2.2.4
- don't install symfony/security-bundle v2.0.10|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.12|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.13|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.14|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.15|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.16|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.17|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.18|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.19|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.20|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.21|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.22|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.23|don't install symfony/symfon
y v2.2.4
- don't install symfony/security-bundle v2.0.9|don't install symfony/symfony
v2.2.4
- Installation request for symfony/symfony == 2.2.4.0 -> satisfiable by symf
ony/symfony[v2.2.4].

Potential causes:

Read http://getcomposer.org/doc/articles/troubleshooting.md for further common
problems.

@Baachi
Copy link

Baachi commented Aug 2, 2013

@inesbd Move the "minimum-stability": "dev" outside of the require section.

@inesbd
Copy link

inesbd commented Aug 19, 2013

it is already!!

@Baachi
Copy link

Baachi commented Aug 20, 2013

Ah sorry @inesbd, the problem is that you have symfony 2.2.4 installed and you are try to install friendsofsymfony/twitter-bundle with version 1.0.0 but you need to install dev-master.

@inesbd
Copy link

inesbd commented Aug 22, 2013

@Baachi how can i install dev-master??

@Baachi
Copy link

Baachi commented Aug 24, 2013

Set the version constraint to dev-master.

"require": {
    "kertz/twitteroauth": "dev-master"
}

@inesbd
Copy link

inesbd commented Aug 29, 2013

@ Baachi: but i'm using FOSTwitterBundle not twitteroauth

@Baachi
Copy link

Baachi commented Aug 29, 2013

@inesbd Yes i know, but the FOSTwitterBundle use twitteroauth.
Your composer.json should looks like this:

{
    "require": {
        "symfony/symfony": "2.2.*",
        "doctrine/orm": "2.3.*",
        "friendsofsymfony/twitter-bundle": "dev-master",
        "kertz/twitteroauth": "dev-master"
}

@inesbd
Copy link

inesbd commented Aug 29, 2013

@Baachi: What about FOSUserBundle ? shall i install it at the bigining?

@Baachi
Copy link

Baachi commented Aug 29, 2013

The order in composer.json is not relevant.

@inesbd
Copy link

inesbd commented Aug 29, 2013

@Baachi: is there any documentation to install twitteroauth?

@Baachi
Copy link

Baachi commented Aug 29, 2013

I never used this library (or this bundle), but i found this file in the master branch: https://github.com/kertz/twitteroauth/blob/master/DOCUMENTATION

Hope it helps

@inesbd
Copy link

inesbd commented Aug 29, 2013

@Baachi: i'm sorry but i don't understand how can i istall it to make FOSTwitterBundle working :(

@Baachi
Copy link

Baachi commented Aug 29, 2013

I guess this bundle is depreacted (because the twitter/anywhere feature is depreacted), you can also use HWIOAuthBundle which is better documented.

@inesbd
Copy link

inesbd commented Aug 29, 2013

i have already tryed it and it didn't work, i have encountred many problems, did you use it?

@Baachi
Copy link

Baachi commented Aug 29, 2013

Not with twitter but with google.

@inesbd
Copy link

inesbd commented Aug 29, 2013

did you followed the installation's instraction from the documentation of HWIOAuthBundle?

@Baachi
Copy link

Baachi commented Aug 29, 2013

Jep and it works like a charm

@inesbd
Copy link

inesbd commented Aug 30, 2013

happy for you, for me not yet :(

@inesbd
Copy link

inesbd commented Sep 3, 2013

@Baachi: i retrayed the implementation of HWIOAuthBundle i have the fcebook page authentification but after loging in i have this error "Unable to generate a URL for the named route "hwi_oauth_connect_service" as such route does not exist."

please help

@Baachi
Copy link

Baachi commented Sep 3, 2013

@inesbd Can you open an issue on HWIOAuthBundle, its not related to this Bundle anymore.

@inesbd
Copy link

inesbd commented Sep 3, 2013

ok

@Baachi
Copy link

Baachi commented Sep 3, 2013

You can also email me ;)

@inesbd
Copy link

inesbd commented Sep 3, 2013

oh thank's it's pleasur :)

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

No branches or pull requests

5 participants