Skip to content

composer require fenguoz/tron-php 安装包错了。因为comely-io/data-types 不支持php8 。 #54

Description

@csc-EricWu

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires fenguoz/tron-php * -> satisfiable by fenguoz/tron-php[0.1.0, ..., 0.1.9, 1.0.0, ..., 1.3.0, 2.0.0, 2.0.1, 2.1.0].
- fenguoz/tron-api[1.1.0, ..., 1.2.0] require kornrunner/secp256k1 ^0.2 -> satisfiable by kornrunner/secp256k1[0.2.0].
- fenguoz/tron-api 1.2.1 requires web3p/web3.php ^1.0 -> found web3p/web3.php[dev-update-validators, dev-master, dev-php-80, v0.1, ..., 0.3.2] but it does not match the constraint.
- fenguoz/tron-php[0.1.0, ..., 0.1.4] require guzzlehttp/guzzle ^6.3 -> found guzzlehttp/guzzle[6.3.0, ..., 6.5.8] but the package is fixed to 7.10.0 (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.
- fenguoz/tron-php[0.1.5, ..., 0.1.9] require iexbase/tron-api ^3.1 -> satisfiable by iexbase/tron-api[v3.1.1, v3.1.2].
- fenguoz/tron-php[1.0.0, ..., 1.3.0] require iexbase/tron-api ^2.0 || ^3.0 || ^3.1 -> satisfiable by iexbase/tron-api[v2.0.1, ..., v2.0.7, v3.0, v3.1.1, v3.1.2].
- fenguoz/tron-php[2.0.0, ..., 2.0.1] require fenguoz/tron-api ~1.1 -> satisfiable by fenguoz/tron-api[1.1.0, ..., 1.2.1].
- fenguoz/tron-php 2.1.0 requires fenguoz/tron-api ^1.2 -> satisfiable by fenguoz/tron-api[1.2.0, 1.2.1].
- iexbase/tron-api[v2.0.1, ..., v2.0.7, v3.0, ..., v3.1.1] require php ^7.1 -> your php version (8.4.16) does not satisfy that requirement.
- iexbase/tron-api v3.1.2 requires php ^7.2 -> your php version (8.4.16) does not satisfy that requirement.
- kornrunner/secp256k1 0.2.0 requires mdanter/ecc ^1 -> found mdanter/ecc[v1.0.0] but these were not loaded, because they are affected by security advisories ("PKSA-j43q-24zh-tyzv", "PKSA-36gf-zqdd-tq5m"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add them to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require fenguoz/tron-php:*" to figure out if any version is installable, or "composer require fenguoz/tron-php:^2.1" if you know which you need.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions