tron-api icon indicating copy to clipboard operation
tron-api copied to clipboard

PHP 8 SUPPORT

Open dawnvi opened this issue 4 years ago • 4 comments

[InvalidArgumentException]
Package iexbase/tron-api has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] []...

dawnvi avatar Sep 15 '21 04:09 dawnvi

root@ming:/sdb1/wwwroot/bscrc.ming# composer require iexbase/tron-api --ignore-platform-reqs Using version ^4.0 for iexbase/tron-api ./composer.json has been updated Running composer update iexbase/tron-api Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - iexbase/tron-api[4.0, ..., 4.0.1] require guzzlehttp/guzzle ^7.0 -> found guzzlehttp/guzzle[7.0.0, ..., 7.3.0] but the package is fixed to 6.5.5 (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. - Root composer.json requires iexbase/tron-api ^4.0 -> satisfiable by iexbase/tron-api[4.0, 4.0.1].

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.

dawnvi avatar Sep 15 '21 04:09 dawnvi

--ignore-platform-reqs

serderovsh avatar Oct 11 '21 09:10 serderovsh

same issue

geeyan avatar Jan 23 '22 14:01 geeyan

--ignore-platform-reqs works for me

sinamiandashti avatar Feb 19 '22 00:02 sinamiandashti