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

Getting error composer install #18

Closed
khanakia opened this issue Mar 4, 2024 · 6 comments
Closed

Getting error composer install #18

khanakia opened this issue Mar 4, 2024 · 6 comments
Assignees

Comments

@khanakia
Copy link

khanakia commented Mar 4, 2024

✗ composer require awssat/laravel-sync-migration
./composer.json has been updated
Running composer update awssat/laravel-sync-migration
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - awssat/laravel-sync-migration[0.1, ..., 0.1.3] require php ~5.6|~7.0 -> your php version (8.1.27) does not satisfy that requirement.
    - awssat/laravel-sync-migration[0.1.4, ..., 0.2.0] require php ~7.1 -> your php version (8.1.27) does not satisfy that requirement.
    - awssat/laravel-sync-migration[v3.0, ..., v3.0.1] require illuminate/support 5.0 - 5.8 | ^6.0 | ^7.0 | ^8.0 -> found illuminate/support[v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
    - awssat/laravel-sync-migration 4.0.0 requires illuminate/support ~5.5.0 || ~5.6.0 || ~5.7.0 || ~5.8.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 -> found illuminate/support[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires awssat/laravel-sync-migration * -> satisfiable by awssat/laravel-sync-migration[0.1, ..., 0.2.0, v3.0, v3.0.1, 4.0.0].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require awssat/laravel-sync-migration:*" to figure out if any version is installable, or "composer require awssat/laravel-sync-migration:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
@APMU
Copy link
Contributor

APMU commented Oct 26, 2024

Hi folks,

I have the same error on php 8.1 and laravel 11.

How to solve it?

@BSN4
Copy link
Contributor

BSN4 commented Oct 26, 2024

@APMU can you try now?

@APMU
Copy link
Contributor

APMU commented Oct 26, 2024

@APMU can you try now?

Hi @BSN4! Thanks for reply.

Excuse me, but Laravel 11 requires php 8.2 or 8.3. Not 8.1 as i said.

The your latest PR was version 3.0.2, but there are a previous 4.0.0 vesion.

A new test with Lavel 11 and php 8.3 yet show errors:

./composer.json has been updated
Running composer update awssat/laravel-sync-migration
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 awssat/laravel-sync-migration 3.0.2 -> satisfiable by awssat/laravel-sync-migration[v3.0.2].
- carbonphp/carbon-doctrine-types 3.2.0 conflicts with doctrine/dbal 3.9.3.
- awssat/laravel-sync-migration v3.0.2 requires doctrine/dbal ^3.4 -> satisfiable by doctrine/dbal[3.4.0, ..., 3.9.3].
- nesbot/carbon 3.8.0 requires carbonphp/carbon-doctrine-types * -> satisfiable by carbonphp/carbon-doctrine-types[3.2.0].
- symfony/http-foundation v7.1.5 conflicts with doctrine/dbal 3.5.4.
- symfony/http-foundation v7.1.5 conflicts with doctrine/dbal 3.4.6.
- laravel/framework v11.29.0 requires nesbot/carbon ^2.72.2|^3.0 -> satisfiable by nesbot/carbon[3.8.0].
- laravel/framework v11.29.0 requires symfony/http-foundation ^7.0 -> satisfiable by symfony/http-foundation[v7.1.5].
- laravel/framework is locked to version v11.29.0 and an update of this package was not requested.

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

Can verifiy? Thanks.

@BSN4 BSN4 assigned BSN4 and abdumu Oct 26, 2024
@BSN4
Copy link
Contributor

BSN4 commented Oct 26, 2024

@abdumu can you check this out please

@APMU
Copy link
Contributor

APMU commented Oct 28, 2024

@abdumu can you check this out please

@BSN4 the error now is "doctrine/dbal ^3.4"

Can verify it?

@APMU
Copy link
Contributor

APMU commented Nov 2, 2024

Hi,

No more errors after:

"composer require awssat/laravel-sync-migration -W"

@BSN4 BSN4 closed this as completed Nov 2, 2024
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