FOSTwitterBundle icon indicating copy to clipboard operation
FOSTwitterBundle copied to clipboard

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

Open Bubelbub opened this issue 12 years ago • 28 comments

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

Bubelbub avatar Apr 01 '13 10:04 Bubelbub

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

stof avatar Apr 02 '13 03:04 stof

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?

Bubelbub avatar Apr 02 '13 08:04 Bubelbub

@Bubelbub Add this to your composer.json:

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

Baachi avatar Apr 03 '13 06:04 Baachi

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

dodev34 avatar May 04 '13 06:05 dodev34

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:

  • A typo in the package name
  • The package is not available in a stable-enough version according to your min imum-stability setting see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion f or more details.

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

inesbd avatar Aug 02 '13 11:08 inesbd

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

Baachi avatar Aug 02 '13 11:08 Baachi

it is already!!

inesbd avatar Aug 19 '13 07:08 inesbd

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.

Baachi avatar Aug 20 '13 16:08 Baachi

@Baachi how can i install dev-master??

inesbd avatar Aug 22 '13 12:08 inesbd

Set the version constraint to dev-master.

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

Baachi avatar Aug 24 '13 10:08 Baachi

@ Baachi: but i'm using FOSTwitterBundle not twitteroauth

inesbd avatar Aug 29 '13 07:08 inesbd

@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"
}

Baachi avatar Aug 29 '13 08:08 Baachi

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

inesbd avatar Aug 29 '13 08:08 inesbd

The order in composer.json is not relevant.

Baachi avatar Aug 29 '13 08:08 Baachi

@Baachi: is there any documentation to install twitteroauth?

inesbd avatar Aug 29 '13 08:08 inesbd

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

Baachi avatar Aug 29 '13 08:08 Baachi

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

inesbd avatar Aug 29 '13 09:08 inesbd

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

Baachi avatar Aug 29 '13 09:08 Baachi

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

inesbd avatar Aug 29 '13 09:08 inesbd

Not with twitter but with google.

Baachi avatar Aug 29 '13 09:08 Baachi

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

inesbd avatar Aug 29 '13 14:08 inesbd

Jep and it works like a charm

Baachi avatar Aug 29 '13 21:08 Baachi

happy for you, for me not yet :(

inesbd avatar Aug 30 '13 13:08 inesbd

@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

inesbd avatar Sep 03 '13 10:09 inesbd

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

Baachi avatar Sep 03 '13 12:09 Baachi

ok

inesbd avatar Sep 03 '13 12:09 inesbd

You can also email me ;)

Baachi avatar Sep 03 '13 12:09 Baachi

oh thank's it's pleasur :)

inesbd avatar Sep 03 '13 12:09 inesbd