A
A
Alex2020-07-05 16:16:47
Composer
Alex, 2020-07-05 16:16:47

How to solve Composer error?

I work with composer for the first time.
I'm trying to compile the project, but Composer always swears, I eliminated all the errors that occurred, except for one.

Error text:

Problem 1
- The requested package iexbase/tron-api No version set (parsed as 1.0.0) is satisfiable by iexbase/tron-api[No version set (parsed as 1.0.0)] but these conflict with your requirements or minimum stability.

I do not understand what exactly is required, what exactly is the conflict.

composer.json content

{
    "name": "iexbase/tron-api",
    "description": "A PHP API for interacting with Tron (Trx)",
    "license": "MIT",
    "type":   "library",
    "homepage": "https://github.com/iexbase/tron-api",
    "authors": [
        {
            "name": "Shamsudin Serderov",
            "email": "[email protected]"
        }
    ],
    "keywords": [
        "iexbase",
        "tron-lib",
        "tron-php",
        "tron-api",
        "tron-rest-api"
    ],

    "require": {
        "php": "^7.2",
        "guzzlehttp/guzzle": "^6.3",
        "kornrunner/secp256k1": "^0.1.2",
        "sc0vu/web3.php": "^0.1.4",
        "simplito/elliptic-php": "^1.0"
    },

    "require-dev": {
        "phpunit/phpunit": "^6.0"
    },
    "autoload": {
        "psr-4": {
            "IEXBase\\TronAPI\\": "src"
        }
    },

    "autoload-dev": {
        "psr-4": {
            "IEXBase\\TronAPI\\Test\\": "tests"
        }
    },

    "config": {
        "sort-packages": true
    },

    "minimum-stability": "dev",
    "prefer-stable": true
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question