Courses

Laravel Filament Admin v2: Practical Course

BelongsTo: Dropdown for Voucher Product

Previous: File Upload: Image Column
avatar

hi i get this error when try to instal filament v.2

PS C:\Users......\Desktop\filatest> composer require filament/filament:"^2.0" The "2.0" 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 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 2.0, found filament/filament[v0.1.0, v1.0.0, ..., 1.x-dev, v2.0.0-beta1, ..., 2.x-dev, v3.0.0-alpha1, ..., 3.x-dev] but it does not match the constraint.

Installation failed, reverting ./composer.json and ./composer.lock to their original content. PS C:\Users\Ramin\Desktop\filatest> composer require filament/filament:"^2.0" -w The "2.0" constraint for "filament/filament" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints

avatar

I would recommend installing v3 now, is there a specific reason why you need an older version?

avatar

hi yes i want us v2 because some filament plugins not compatible with v3

avatar

Maybe it's worth contributing to those plugins to support vę instead? Sorry, as for your error, hard to say, seems like it's the same as in the docs. Maybe try to use "2.0.0" instead of "^2.0"?

avatar
You can use Markdown
avatar
You can use Markdown