Skip to content

Problem with installation. Constrains problem #692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ironbone opened this issue Mar 7, 2025 · 1 comment
Open

Problem with installation. Constrains problem #692

ironbone opened this issue Mar 7, 2025 · 1 comment

Comments

@ironbone
Copy link

ironbone commented Mar 7, 2025

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.
@dereuromark
Copy link
Member

It might eat the ^ char, depending on what console you are using, try ~ to see if thats the issue.

markstory added a commit to cakephp/docs that referenced this issue Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants