Skip to content
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

Requirements are not Satisfied #536

Open
abbasmashaddy72 opened this issue Jun 8, 2021 · 7 comments
Open

Requirements are not Satisfied #536

abbasmashaddy72 opened this issue Jun 8, 2021 · 7 comments

Comments

@abbasmashaddy72
Copy link

Describe the bug
Does not satisfy the requirement

To Reproduce
Steps to reproduce the behavior:

  1. PHP 8.0, Laravel 8.x
  2. composer require pragmarx/tracker
  3. Output:
    'Problem 1
    • pragmarx/tracker v4.0.x-dev requires php ^7.0 -> your php version (8.0.6) does not satisfy that requirement.
    • pragmarx/tracker[v4.0.0, ..., v4.0.1] require doctrine/dbal ^2.6 -> found doctrine/dbal[v2.6.0, ..., 2.13.x-dev] but the package is fixed to 3.1.0 (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 pragmarx/tracker ^4.0 -> satisfiable by pragmarx/tracker[v4.0.0, v4.0.1, v4.0.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.'
4. When installing with -W:
'Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+abbasmashaddy72+2021-06-08+1656
to retrieve a token. It will be stored in "/home/abbasmashaddy72/.config/composer/auth.json" for future use by Composer.
Token (hidden):'

Expected behavior
Normal Installations without Errors

Screenshots
No Screen Shots

System

  • OS: Manjaro Linux
  • Browser: Chrome
  • Version: 90.0.4430.212

Additional context
Problem occurred in console with installing

@mintalicious
Copy link

Has anyone solved this issue or found a workaround for it?
In my case, the dependencies for laravel/framework (required: ^5.5, installed: ^8.40) and doctrine/dbal (required: ^2.6, installed: ^3.1) don't seem to be right when trying to install pragmarx/tracker.
When using specific version 4.0.1, only doctrine/dbal dependency is unsolved.

@fzahid001
Copy link

Has anyone solved this issue.. As I am tying to install the package on laravel 8 and getting the exact same issue

@moacdev
Copy link

moacdev commented Aug 29, 2021

  1. Delete your project vendor file
  2. Remove "pragmarx/tracker":^xx line from your composer.json
  3. Delete also the composer.lock file
  4. Run composer i
  5. then run composer require pragmarx/tracker

This worked fine for me

@bhargav960143
Copy link

Solved.

Issue attached
issue

Update your composer with following line
"doctrine/dbal": "^2.6",

solution

composer require pragmarx/tracker -W

@moacdev
Copy link

moacdev commented Sep 12, 2021

Solved.

Issue attached
issue

Update your composer with following line
"doctrine/dbal": "^2.6",

solution

composer require pragmarx/tracker -W

Nice

@Iheanyi001
Copy link

Laravel 9 and php 8.1 is not supported

@JayeshKathrotiya
Copy link

Has anyone solved this issue? As I am trying to install the package on laravel 9 and getting the exact same issue

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

7 participants