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

Only one of these can be installed: illuminate/support, laravel/framework replaces illuminate/support and thus cannot coexist with it. #30

Open
whoacowboy opened this issue Apr 3, 2024 · 2 comments

Comments

@whoacowboy
Copy link

I am following this Laravel 11.x Compatibility #29 issue/pr and attempting to run this I get the following error.

Only one of these can be installed: illuminate/support[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, v11.0.0, ..., 11.x-dev], 
laravel/framework[v11.0.0, ..., 11.x-dev].
laravel/framework replaces illuminate/support and thus cannot coexist with it.

Any ideas?

@lucaSabato
Copy link

lucaSabato commented Apr 11, 2024

Root composer.json requires laravel-shift/factory-generator dev-l11-compatibility -> satisfiable by laravel-shift/factory-generator[dev-l11-compatibility]. - Conclusion: don't install laravel/framework v11.3.0 (conflict analysis result) - Conclusion: don't install laravel/framework v11.3.1 (conflict analysis result) - laravel-shift/factory-generator dev-l11-compatibility requires naoray/eloquent-model-analyzer ^3.0|^4.0 -> satisfiable by naoray/eloquent-model-analyzer[v3.0.0, v3.0.1, v4.0.0]. - naoray/eloquent-model-analyzer v4.0.0 requires illuminate/support ^8.24.0|^9.0|^10.0 -> satisfiable by illuminate/support[v8.24.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev]. - naoray/eloquent-model-analyzer[v3.0.0, ..., v3.0.1] require illuminate/support ^8.24.0|^9.0 -> satisfiable by illuminate/support[v8.24.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, v11.0.0, ..., 11.x-dev, 12.x-dev], laravel/framework[v11.2.0, v11.3.0, v11.3.1, 11.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it. - akaunting/laravel-setting[1.2.0, ..., 1.2.9] require laravel/framework >=5.3 -> satisfiable by laravel/framework[v11.2.0, v11.3.0, v11.3.1, 11.x-dev]. - Conclusion: don't install laravel/framework v11.2.0 (conflict analysis result)

I am having the same issue after running the shift to update to Laravel 11.

@whoacowboy
Copy link
Author

@lucaSabato FWIW, I ended up just writing the factories from scratch and moving on. Fairly boring but faster then trying to get this to work.

I tried brand new projects with different laravel versions as well and I received similar errors.

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