Skip to content

installation error on Laravel 6.20.44 with PHP 8.0.18 #94

@handhikadj

Description

@handhikadj

composer require vimeo/laravel

Info from https://repo.packagist.org: #StandWithUkraine
Using version ^5.7 for vimeo/laravel
./composer.json has been updated
Running composer update vimeo/laravel
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - ankitpokhrel/tus-php[dev-main, v2.2.0, ..., v2.2.1] require symfony/console ^5.0 || ^6.0 -> found symfony/console[v5.0.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.1.x-dev] but the package is fixed to v4.4.41 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - ankitpokhrel/tus-php[v0.1.0, v1.0.0, ..., v1.x-dev] require php ^7.1.3 -> your php version (8.0.18) does not satisfy that requirement.
    - ankitpokhrel/tus-php[v2.0.0, ..., v2.0.1] require php ^7.2.5 -> your php version (8.0.18) does not satisfy that requirement.
    - ankitpokhrel/tus-php[v2.1.0, ..., v2.1.3] require symfony/console ^5.0 -> found symfony/console[v5.0.0-BETA1, ..., 5.4.x-dev] but the package is fixed to v4.4.41 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - vimeo/vimeo-api[3.0.0-RC1, ..., 3.0.1] require ankitpokhrel/tus-php dev-master#460f00c14b774ec105dc840c61f229cc29c2f405 -> found ankitpokhrel/tus-php[dev-fix/issue-388, dev-main, dev-symfony-5, dev-patch/issue-387, v0.0.0, v0.1.0, v1.0.0, ..., v1.x-dev, v2.0.0, ..., 2.2.x-dev (alias of dev-main), v3.x-dev] but it does not match the constraint.
    - vimeo/laravel 5.7.0 requires vimeo/vimeo-api ^3.0.3|^3.0 -> satisfiable by vimeo/vimeo-api[3.0.0-RC1, ..., 3.0.10].
    - vimeo/vimeo-api[3.0.6, ..., 3.0.10] require ankitpokhrel/tus-php ^v1.0.0 || ^v2.0.0 -> satisfiable by ankitpokhrel/tus-php[v1.0.0, ..., v1.x-dev, v2.0.0, ..., 2.2.x-dev (alias of dev-main)].
    - ankitpokhrel/tus-php 2.2.x-dev is an alias of ankitpokhrel/tus-php dev-main and thus requires it to be installed too.
    - vimeo/vimeo-api 3.0.2 requires ankitpokhrel/tus-php v0.1.0 -> satisfiable by ankitpokhrel/tus-php[v0.1.0].
    - vimeo/vimeo-api[3.0.3, ..., 3.0.5] require ankitpokhrel/tus-php ^v1.0.0 -> satisfiable by ankitpokhrel/tus-php[v1.0.0, ..., v1.x-dev].
    - Root composer.json requires vimeo/laravel ^5.7 -> satisfiable by vimeo/laravel[5.7.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

update:
this runs fine on PHP v7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions