F
Filamentβ€’4w ago
Bullrot

illuminate/console

Hi, I'm new in Filament, and i have problems with composer intall composer require filament/filament:"^3.2" -W The "3.2" constraint for "filament/filament" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints ./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 - Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0]. - filament/filament v3.2.0 requires illuminate/console ^10.0 -> found illuminate/console[v10.0.0, ..., v10.48.22] but these were not loaded, likely because it conflicts with another require. Installation failed, reverting ./composer.json and ./composer.lock to their original content. 🧐
Versions and constraints - Composer
A Dependency Manager for PHP
8 Replies
sadiqgoni13
sadiqgoni13β€’2w ago
I experienced this since 2 days i still cant installed it
Dennis Koch
Dennis Kochβ€’2w ago
It's a common issue that Windows Shell removes the ^ character and therefore it tries to install 3.2 instead of ^3.2 Try 1) composer require "filament/filament:^3.2" -W or 2) composer require filament/filament:"^^3.2" -W or 3) According to Composer page it's composer require filament/filament:"^^^^3.2" -W https://getcomposer.org/doc/articles/versions.md#caret-version-range-
munch
munchβ€’2w ago
In my case, in my local dev environment, I updated my PHP and the ext-zip was no longer enabled .. Gave that exact error.
Dennis Koch
Dennis Kochβ€’2w ago
That should give you an error about ext-zip though? πŸ€”
munch
munchβ€’2w ago
Yes, you would think so. But I think depends on the terminal used. Because this is what I got from the VSCode terminals:
composer require filament/filament:"^3.2" -W
The "3.2" constraint for "filament/filament" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
./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
- illuminate/console[v10.17.0, ..., v10.48.24] require nunomaduro/termwind ^1.13 -> found nunomaduro/termwind[v1.13.0, ..., v1.17.0] 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.24].
- Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
composer require filament/filament:"^3.2" -W
The "3.2" constraint for "filament/filament" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
./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
- illuminate/console[v10.17.0, ..., v10.48.24] require nunomaduro/termwind ^1.13 -> found nunomaduro/termwind[v1.13.0, ..., v1.17.0] 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.24].
- Root composer.json requires filament/filament 3.2 -> satisfiable by filament/filament[v3.2.0].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Dennis Koch
Dennis Kochβ€’2w ago
I guess it's exactly the same issue as above. You are in Windows, too, right?
munch
munchβ€’2w ago
Yes sir 😊 On Windows, the error messages are not always telling the whole truth. But also on Windows, in another terminal, I got the error where it tells that ext-zip extension.
Dennis Koch
Dennis Kochβ€’2w ago
But also on Windows, in another terminal, I got the error where it tells that ext-zip extension
Yes. So you probably had 2 different issues in those terminals. First one because it modified to constraint and then because it didn't but the extension was missing.
Want results from more Discord servers?
Add your server