laravel-shift / factory-generator

MIT License
41 stars 20 forks source link

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

Open whoacowboy opened 7 months ago

whoacowboy commented 7 months ago

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 commented 7 months ago

`Root composer.json requires laravel-shift/factory-generator dev-l11-compatibility -> satisfiable by laravel-shift/factory-generator[dev-l11-compatibility].

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

whoacowboy commented 7 months ago

@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.