Install Spatie Translatable Plugin
I'm trying to install the Spatie Translatable Plugin with
but i get this error
my version of filament is v3.0.100 php 8.2
15 Replies
This seems like a conflict version from composer, but we need to see the entire error to help you
this is my composer
this is the complete error
did you already do composer install ?
no,
when i start to develop i made a pull from git and a composer update (and a migrate:refresh if necessary)
When you pull from git, you should first do composer install to install the dependencies based on the composer.lock file.
Composer update will update the dependencies to the latest version allowed by the constraints.
Can you please try doing a composer install, then your composer require command ?
done : Nothing to install, update or remove
and then the same error
Usually when there's a conflict on composer dependencies, at the end of the error message there's the package blocking the resolution. Unfortunately on your error I didn't see it. I'm sorry I can't help you more
fast forward at home on macos (at work on linux)
same dev env with ddev
on macos no error... tomorrow i will investigate on the linux installation
You can try removing the vendor folder and retrying the composer install
And check the PHP version as well, you require ^8.1, maybe you're on 8.0 or less
done! just pull and composer install
does the composer require works now ?
Everything is working now; I wouldn't know where the issue was. This morning, I simply did a git pull, a composer install, and everything went smoothly.
π€£ the mysterious ways of package managers
π