Error installing filament on Laravel version 11

Hello everyone, I am trying to install filament on the latest laravel release which is version 11, I've installed livewire and that went smoothly. However, trying to install filament throws the below error from composer. Your requirements could not be resolved to an installable set of packages. Problem 1 - illuminate/console[v10.0.0, ..., v10.48.2] require nunomaduro/termwind ^1.13 -> found nunomaduro/termwind[v1.13.0, ..., v1.15.1] but these were not loaded, likely because it conflicts with another require. - filament/filament v3.2.0 requires illuminate/console ^10.0 -> satisfiable by illuminate/console[v10.0.0, ..., v10.48.2]. - Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0]. I used the official command from the doc: composer require filament/filament:"^3.2" -W Any idea on how to fix this please?
Solution:
This solution finally worked with a little tweak; I changed the line: "filament/filament”: “^3.2”" To: ""filament/filament": "^3.2.0"" then ran composer update and it worked! Thanks very much Mr awcodes.
Jump to solution
7 Replies
JJSanders
JJSanders3mo ago
What happens when you remove termwind from your composer.json?
calmjohnson
calmjohnson3mo ago
I don't have termwind in my composer.json I think it's a filament requirement or something.
awcodes
awcodes3mo ago
Looks like it’s trying to install 3.2.0 instead of the latest. Remove livewire from composer.json as filament will install it. Add “filament/filament”: “^3.2” to composer.json. Then run composer update There is a weird bug in windows where it strips the ^ with composer install command.
calmjohnson
calmjohnson3mo ago
I've done this and it still fails to install This is the new error "Your requirements could not be resolved to an installable set of packages." Tried the command: "composer require filament/filament:"^3.2.0"" Got the following error: Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires filament/filament 3.2.0 -> satisfiable by filament/filament[v3.2.0]. - filament/filament v3.2.0 requires illuminate/auth ^10.0 -> found illuminate/auth[v10.0.0, ..., v10.48.2] but these were not loaded, likely because it conflicts with another require. I have no idea what's going on here
Solution
calmjohnson
calmjohnson3mo ago
This solution finally worked with a little tweak; I changed the line: "filament/filament”: “^3.2”" To: ""filament/filament": "^3.2.0"" then ran composer update and it worked! Thanks very much Mr awcodes.
calmjohnson
calmjohnson3mo ago
I wonder what the difference is between the two tho, however, it worked...
Dennis Koch
Dennis Koch3mo ago
There shouldn't be any difference between those two