Upgrade to 3.1 is problematic

I wanted to upgrade from version 3 to 3.1 to use the new features. But when I run
composer require filament/filament:"^3.1" -W
composer require filament/filament:"^3.1" -W
I get the following error:
./composer.json has been updated
Running composer update filament/filament --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- filament/filament[v3.1.0-alpha1, ..., 3.x-dev] require illuminate/console ^10.0 -> found illuminate/console[v10.0.0, ..., 10.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires filament/filament ^3.1 -> satisfiable by filament/filament[v3.1.0-alpha1, ..., 3.x-dev].


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
./composer.json has been updated
Running composer update filament/filament --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- filament/filament[v3.1.0-alpha1, ..., 3.x-dev] require illuminate/console ^10.0 -> found illuminate/console[v10.0.0, ..., 10.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires filament/filament ^3.1 -> satisfiable by filament/filament[v3.1.0-alpha1, ..., 3.x-dev].


Installation failed, reverting ./composer.json and ./composer.lock to their original content.
What do I need to do to install the new version? Can anyone help me?
4 Replies
Weccop
Weccop5mo ago
What Laravel version are you running?
ryangjchandler
ryangjchandler5mo ago
Try running composer why-not filament/filament:"^3.1"
_qRtrenH&5367
_qRtrenH&53675mo ago
It says Not enough arguments (missing: "version").
Dennis Koch
Dennis Koch5mo ago
Probably you are using a Laravel version below the required one.