KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Can't using composer update. koolreport/pro not found #3469

Closed Daniel Cordeiro opened this topic on on Jan 26 - 2 comments

Daniel Cordeiro commented on Jan 26

Hello,

When I try runing in fresh install composer install or composer update, I receive this message:

 ./composer.phar update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires koolreport/pro, it could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

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

The composer.json:

{
    "http-basic": {
        "repo.koolreport.com": {
            "username": "xxxxxx@gmail.com",
            "password": "xxxxxxxxxxxxxxxxx"
        }
    },
    "repositories":[
        {"type":"composer","url":"https://repo.koolreport.com"}
    ],
    "require":{
        "koolreport/pro":"*",
    },
...
}

Sebastian Morales commented on Jan 27

The file composer.json should be like this:

{
    "repositories":[
        {"type":"composer","url":"https://repo.koolreport.com"}
    ],
	"require": {
        "koolreport/pro": "*"
    }
}

For authentication, pls download the file auth.json file from our website (Get Licenses section) by clicking the Get Token button and place it at the same directory with composer.json

Daniel Cordeiro commented on Jan 28

It worked. Thank you.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

None