Althinect / filament-spatie-roles-permissions

MIT License
254 stars 87 forks source link

Cannot Install on Latest Filament install #100

Closed imLiaMxo closed 1 year ago

imLiaMxo commented 1 year ago

Hi mate, so I just did a fresh install of Laravel and FilamentPHP for a new project, and I'm instantly running into these errors


  Problem 1
    - althinect/filament-spatie-roles-permissions[dev-main, v1.0.0, ..., 1.x-dev] require filament/filament ^2.0|^2.1 -> found filament/filament[v2.0.0-beta1, ..., 2.x-dev] but it conflicts with your root composer.json require (^3.0-stable).
    - althinect/filament-spatie-roles-permissions[dev-feature/togglable-guard-names, dev-feature/tenancy-bug-fixes, dev-dev/null-fix, v1.3.4, ..., v1.3.9, v2.0, ..., 2.x-dev] require spatie/laravel-permission ^5.4 -> found spatie/laravel-permission[5.4.0, ..., v5.x-dev] but it conflicts with your root composer.json require (^6.0).
    - Root composer.json requires althinect/filament-spatie-roles-permissions * -> satisfiable by althinect/filament-spatie-roles-permissions[dev-feature/togglable-guard-names, dev-feature/tenancy-bug-fixes, dev-main, dev-dev/null-fix, v1.0.0, ..., 1.x-dev, v2.0, ..., 2.x-dev].
tharindarodrigo commented 1 year ago

Should work now.