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

Not installable with Laravel 9.38.0 #402

Closed
syntafin opened this issue Nov 5, 2022 · 3 comments
Closed

Not installable with Laravel 9.38.0 #402

syntafin opened this issue Nov 5, 2022 · 3 comments

Comments

@syntafin
Copy link

syntafin commented Nov 5, 2022

Tried to install it under Laravel 9.38.0 but got the following error message:

➜  DotSexyV4 git:(dev) ✗ composer require atymic/twitter
Using version ^3.1 for atymic/twitter
./composer.json has been updated
Running composer update atymic/twitter
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - atymic/twitter 3.1.15 requires php-di/php-di ^6.2 -> satisfiable by php-di/php-di[6.2.0, ..., 6.4.0].
    - atymic/twitter[3.1.0, ..., 3.1.14] require illuminate/support 6 - 8 -> found illuminate/support[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - php-di/php-di[6.2.0, ..., 6.4.0] require psr/container ^1.0 -> found psr/container[1.0.0, ..., 1.x-dev] but the package is fixed to 2.0.2 (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 atymic/twitter ^3.1 -> satisfiable by atymic/twitter[3.1.0, ..., 3.1.15].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require atymic/twitter:*" to figure out if any version is installable, or "composer require atymic/twitter:^2.1" if you know which you need.

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

Enviroment Information:

  • Laravel Version 9.38.0
  • PHP Version 8.1.11
  • Composer Version 2.3.10
@a-j-n
Copy link

a-j-n commented Nov 6, 2022

try to install it with -W
composer require atymic/twitter -W

@CyberPunkCodes
Copy link

try to install it with -W composer require atymic/twitter -W

It might work, but it isn't a real solution. It downgrades two important packages by a whole version:

- Downgrading psr/container (2.0.2 => 1.1.2)
- Downgrading symfony/service-contracts (v3.2.0 => v2.5.2)

Ran on a brand new Laravel 9.45.1

@atymic
Copy link
Owner

atymic commented Apr 29, 2023

Closed by #411

@atymic atymic closed this as completed Apr 29, 2023
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

4 participants