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

Cannot install on Laravel 10.x alongside Statamic 4.x #24

Open
lyyka opened this issue Aug 9, 2023 · 0 comments
Open

Cannot install on Laravel 10.x alongside Statamic 4.x #24

lyyka opened this issue Aug 9, 2023 · 0 comments

Comments

@lyyka
Copy link

lyyka commented Aug 9, 2023

Bug:
Running composer install with ufirst/lang-import-export ^8.1.0 on Laravel 10.x app alongside Statamic CMS 4.x produces an error.

My guess is that Statamic dependes on laravel/framework:^10.0 while this package depends on illuminate/support:^10.0 which cannot coexist together (as said in the output below).

PHP version: 8.2.8
Composer version: 2.5.5

Full composer install output:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.2.8) does not satisfy that requirement.
    - Root composer.json requires statamic/cms ^4.15 -> satisfiable by statamic/cms[v4.15.0, v4.16.0, 4.x-dev].
    - Root composer.json requires ufirst/lang-import-export ^8.1.0 -> satisfiable by ufirst/lang-import-export[8.1.0].
    - Conclusion: don't install laravel/framework v10.0.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.0.2 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.0.3 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.1.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.1.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.1.2 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.1.3 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.1.4 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.1.5 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.2.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.3.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.3.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.3.2 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.3.3 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.4.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.4.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.5.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.5.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.6.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.6.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.6.2 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.7.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.7.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.8.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.9.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.10.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.10.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.11.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.12.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.13.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.13.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.13.2 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.13.3 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.13.5 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.14.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.14.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.15.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.16.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.16.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.17.0 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.17.1 (conflict analysis result)
    - Conclusion: don't install laravel/framework v10.18.0 (conflict analysis result)
    - ufirst/lang-import-export 8.1.0 requires illuminate/support ^8.0|^9.0 -> satisfiable by illuminate/support[v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev].
    - Only one of these can be installed: illuminate/support[dev-master, v4.0.0-BETA2, ..., 4.2.x-dev, v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev], laravel/framework[v10.0.0, ..., 10.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
    - statamic/cms[v4.15.0, ..., 4.x-dev] require laravel/framework ^9.50.0 || ^10.0 -> satisfiable by laravel/framework[v10.0.0, ..., 10.x-dev].
    - Conclusion: don't install laravel/framework v10.0.0 (conflict analysis result)
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

1 participant