tomcorbett / opentok-laravel

Laravel bundle for OpenTok
MIT License
9 stars 23 forks source link

Composer problems #12

Open theotherdy opened 7 years ago

theotherdy commented 7 years ago

The below is what I get when I try to install via composer. Tried with Laravel 5.3 then upgraded to 5.4, in case that was the problem but still no joy,,,

 Problem 1
    - tomcorbett/opentok-laravel v1.1.2 requires opentok/opentok dev-hitlabs ->                                    no matching package found.
    - tomcorbett/opentok-laravel v1.1.1 requires opentok/opentok dev-hitlabs ->                                    no matching package found.
    - Installation request for tomcorbett/opentok-laravel ^1.1 -> satisfiable by                                    tomcorbett/opentok-laravel[v1.1.0, v1.1.1, v1.1.2].
    - Conclusion: remove laravel/framework v5.4.15
    - Conclusion: don't install laravel/framework v5.4.15
    - tomcorbett/opentok-laravel v1.1.0 requires illuminate/support 5.0.x|5.1.x|                                   5.2.x -> satisfiable by illuminate/support[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5                                   .0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1                                   .25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.2                                   1, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.                                   43, v5.2.45, v5.2.6, v5.2.7].
    - don't install illuminate/support v5.2.0|don't install laravel/framework v5                                   .4.15
    - don't install illuminate/support v5.2.19|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.21|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.24|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.25|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.26|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.27|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.28|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.31|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.32|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.37|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.43|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.45|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.2.6|don't install laravel/framework v5                                   .4.15
    - don't install illuminate/support v5.2.7|don't install laravel/framework v5                                   .4.15
    - don't install illuminate/support v5.0.0|don't install laravel/framework v5                                   .4.15
    - don't install illuminate/support v5.0.22|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.0.25|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.0.26|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.0.28|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.0.33|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.0.4|don't install laravel/framework v5                                   .4.15
    - don't install illuminate/support v5.1.1|don't install laravel/framework v5                                   .4.15
    - don't install illuminate/support v5.1.13|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.1.16|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.1.2|don't install laravel/framework v5                                   .4.15
    - don't install illuminate/support v5.1.20|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.1.22|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.1.25|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.1.28|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.1.30|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.1.31|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.1.41|don't install laravel/framework v                                   5.4.15
    - don't install illuminate/support v5.1.6|don't install laravel/framework v5                                   .4.15
    - don't install illuminate/support v5.1.8|don't install laravel/framework v5                                   .4.15
    - Installation request for laravel/framework (locked at v5.4.15, required as                                    5.4.*) -> satisfiable by laravel/framework[v5.4.15].

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://getcomposer.org/doc/04-schema.md#minimum-stability> for more det                                   ails.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo                                   n problems.

Installation failed, reverting ./composer.json to its original content.

My composer.json:

{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.6.4",
        "laravel/framework": "5.3.*",
        "auth0/login": "~4.0",
        "barryvdh/laravel-cors": "^0.8.2",
        "nodes/counter-cache": "^1.0",
        "laravel/scout": "^2.0",
        "teamtnt/laravel-scout-tntsearch-driver": "^2.0",
        "tomcorbett/opentok-laravel": "^1.1"
    },
    "require-dev": {
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "0.9.*",
        "phpunit/phpunit": "~5.0",
        "symfony/css-selector": "3.1.*",
        "symfony/dom-crawler": "3.1.*"
    },
    "autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "classmap": [
            "tests/TestCase.php"
        ]
    },
    "scripts": {
        "post-root-package-install": [
            "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ],
        "post-install-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postInstall",
            "php artisan optimize"
        ],
        "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
            "php artisan optimize"
        ]
    },
    "config": {
        "preferred-install": "dist"
    }
}
tomcorbett commented 7 years ago

@theotherdy - I will try to look at this tonight thanks

theotherdy commented 7 years ago

Thanks @tomcorbett, that would be great. I'll hold of the Laravel side and work on the Angular 2 side of it for the moment.

tomcorbett commented 7 years ago

@theotherdy - please can you try dev-master and let me know if it works for you now. I didn't have chance to test it fully but it installs for me now. Thanks

theotherdy commented 7 years ago

Thanks @tomcorbett - that seems to have done the job...now just got to get to grips with how it works! Thanks again.

linuxs commented 7 years ago

Yeah, I seem to be getting this problem also. I tried dev-master and that did not fix it unfortunately. I'm running Laravel 5.5 I believe, it gives me the same errors as above even with Dev-Master.

linuxs commented 7 years ago

Actually, I resolved it. Turns out I forgot to include the Opentok SDK, for some reason I thought this library would have auto imported it. 👍

Well my PHP JWT is conflicting, not related to this project but I believe upgrading my PHP JWT library will resolve it. Thanks!

htuzel commented 6 years ago

I try devmaster and commanded ;

$ composer update

and its my terminal output is:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove laravel/framework v5.6.12
    - Conclusion: don't install laravel/framework v5.6.12
    - Conclusion: don't install laravel/framework v5.6.11
    - Conclusion: don't install laravel/framework v5.6.10
    - Conclusion: don't install laravel/framework v5.6.9
    - Conclusion: don't install laravel/framework v5.6.8
    - Conclusion: don't install laravel/framework v5.6.7
    - Conclusion: don't install laravel/framework v5.6.6
    - Conclusion: don't install laravel/framework v5.6.5
    - Conclusion: don't install laravel/framework v5.6.4
    - Conclusion: don't install laravel/framework v5.6.3
    - Conclusion: don't install laravel/framework v5.6.2
    - Installation request for tomcorbett/opentok-laravel dev-master -> satisfiable by tomcorbett/opentok-laravel[dev-master].
    - Conclusion: don't install laravel/framework v5.6.1
    - Conclusion: don't install laravel/framework v5.6.0
    - tomcorbett/opentok-laravel dev-master requires illuminate/support 5.0.x|5.1.x|5.2.x|5.3.x|5.4.x -> satisfiable by illuminate/support[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
    - illuminate/support 5.2.x-dev conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support 5.3.x-dev conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support 5.4.x-dev conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.2.43 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.2.45 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.3.0 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.3.16 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.3.23 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.3.4 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.4.0 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.4.13 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.4.17 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.4.19 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.4.27 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.4.36 conflicts with laravel/framework[5.6.x-dev].
    - illuminate/support v5.4.9 conflicts with laravel/framework[5.6.x-dev].
    - don't install illuminate/support 5.1.x-dev|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.1|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.13|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.16|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.2|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.20|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.22|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.25|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.28|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.30|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.31|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.41|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.6|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.1.8|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.0|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.19|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.21|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.24|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.25|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.26|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.27|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.28|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.31|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.32|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.37|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.6|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.2.7|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support 5.0.x-dev|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.0.0|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.0.22|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.0.25|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.0.26|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.0.28|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.0.33|don't install laravel/framework 5.6.x-dev
    - don't install illuminate/support v5.0.4|don't install laravel/framework 5.6.x-dev
    - Installation request for laravel/framework 5.6.* -> satisfiable by laravel/framework[5.6.x-dev, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.2, v5.6.3, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].

Please help me.