Skip to content

Problem with installation. Constrains problem #692

Closed
@ironbone

Description

@ironbone

Mayby this is more related with the book?

I install the newest CakePHP
composer create-project --prefer-dist cakephp/app:~5.0 AutTest
Then in the root of the app I call (as sugested in the book)
composer require "cakephp/authentication:^3.0"

wich give me the followin error:

The "3.0" constraint for "cakephp/authentication" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
./composer.json has been updated
Running composer update cakephp/authentication
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 cakephp/authentication 3.0 -> satisfiable by cakephp/authentication[3.0.0].
    - cakephp/authentication 3.0.0 requires cakephp/http 5.x-dev -> found cakephp/http[5.x-dev] but it does not match your minimum-stability.


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

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