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

Error in composer install #21

Closed
joskfg opened this issue Jul 13, 2015 · 4 comments
Closed

Error in composer install #21

joskfg opened this issue Jul 13, 2015 · 4 comments

Comments

@joskfg
Copy link

joskfg commented Jul 13, 2015

Hello,

When I'm trying to install the package I receive this error:

Problem 1
- auth0/auth0-php 1.0.6 requires firebase/php-jwt dev-master -> no matching package found.
- auth0/auth0-php 1.0.5 requires firebase/php-jwt dev-master -> no matching package found.
- auth0/auth0-php 1.0.4 requires firebase/php-jwt dev-master -> no matching package found.
- auth0/auth0-php 1.0.3 requires firebase/php-jwt dev-master -> no matching package found.
- auth0/auth0-php 1.0.2 requires firebase/php-jwt dev-master -> no matching package found.
- auth0/auth0-php 1.0.1 requires firebase/php-jwt dev-master -> no matching package found.
- auth0/auth0-php 1.0.0 requires firebase/php-jwt dev-master -> no matching package found.
- Installation request for auth0/auth0-php ~1.0 -> satisfiable by auth0/auth0-php[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6].

This seems related with googlearchive/firebase-token-generator-php#15

I'm following the instructions from the quickstart.

@glena
Copy link
Contributor

glena commented Jul 13, 2015

Hi @joskfg, which quickstart are you following (regular webapp or api backend)?

Can you copy your composer.json file here to check your dependencies?

Also, try adding "firebase/php-jwt" : "~2.2" as a dependency in your composer.json, since it is tagged to dev-master on the package composer.json it is not actumatically downloaded due to min stability settings on your project (It will be fixed on the next release).

@joskfg
Copy link
Author

joskfg commented Jul 14, 2015

I was following the regular webapp and it indicates do 3 requires

{
    "name": "test/oauth",
    "authors": [
        {
            "name": "joskfg",
            "email": "test@test.com"
        }
    ],
    "repositories": [
    {
        "type": "git",
            "url": "https://github.com/joskfg/auth0-PHP.git"
    }
    ],
    "minimum-stability": "stable",
    "require": {
        "auth0/auth0-php": "dev-master",
        "adoy/oauth2": "dev-master",
        "vlucas/phpdotenv": "dev-master",
    }
}

I solved it adding

"firebase/php-jwt": "dev-master"

to the requires, but it didn't work indicating a version.

@glena
Copy link
Contributor

glena commented Jul 14, 2015

great, It should be solved on the next release (WIP).
Thanks for reporting.

@glena glena closed this as completed Jul 14, 2015
@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2022
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

2 participants