22 Replies
You need to understand composer better, you can’t install v3 without installing livewire v3 beta.
Already installed lv3
"require": {
"php": "^8.1",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"livewire/livewire": "^3.0@beta"
},
i have this problem too, did you fixed ?
I think you should remove
livewire/livewire
from your composer.json... let Filament install the version it needs.
composer require -W filament/filament:"^3.0"
- Installing livewire/livewire (2.x-dev cca62ce): Extracting archive
remove livewire -> composer update -> install fillament v3 and everything is ok. but i install livewire 2.* is it correct?
No, Filament 3 requires Livewire 3
@lucianosnchz Can you share your composer.json?
I knoe, Yes of course !
Ok, so this looks good... but your issue is that you're still on filament
v3.0.0-alpha67
Can you try composer update -W filament/filament
?I did it the other way around too, installed laravel, changed composer json to dev, installed livewire 3 beta and filament. This is how filament gives an error, so I removed the livewire line, did composer update and installed filament and now I'm in this state
Yeah I created an hour ago a new filament project and it installed the alpha121 version. Had to run a "composer update" to force it to get all the packages to their latest version. Weird.
Yes, I saw it in another post and I did it. But the alpha version is still there
@lucianosnchz If this is ok for you, I think you could remove
composer.lock
and vendor
and run composer install
again.I didn't install livewire manually though, just create a new laravel project and then filament. Filament will install livewire automatically.
thanks you ! i try this
delete composer.lock file first
delete livewire in composer.json
and install filament v3
That's right, you should not need to specify a livewire version... if you do, you probably have an issue somewhere else
Thank you!! I tried on another computer (MACOS) and remove the composer.lock install again and ALPHA no longer appears. From the beginning it appeared to me, I had to run everything again and there it was. In windows not yet, I don't know why it will be able to cache.
Yeah this is weird... someone else is having issues on windows I think but I don't know if it's really related to the OS or not... One thing you can try is do
laravel new testproject
and try to install in this clean environment.yes, i installed the project 3 times from 0 as it is for testing filament. Thank you very much, I am new to the community, I joined discord yesterday. very good week
This saved my day!🎉
Glad to hear.