JS error : "Livewire assets are out of date"

Hi guys, I made a few changes on my Filament app and now login isn't working anymore and I think it's related to Livewire because I have this error in the console
Livewire: The published Livewire assets are out of date
See: https://livewire.laravel.com/docs/installation#publishing-livewires-frontend-assets
Livewire: The published Livewire assets are out of date
See: https://livewire.laravel.com/docs/installation#publishing-livewires-frontend-assets
and even the password input doesn't work anymore. Do you have any advice to help me ? I'm struggling since 2 hours on it... I also tried
php artisan livewire:publish --assets
php artisan livewire:publish --assets
, then livewire is correctly loaded but the login is just redirecting me to the login page.
2 Replies
Benjamin
BenjaminOP10mo ago
I found! The problem was related to my APP_KEY in my .env file. However, the
php artisan livewire:publish --assets
php artisan livewire:publish --assets
is required too.
bernhard
bernhard10mo ago
What was your problem in the APP_KEY? I have a similar issue like you I can see password input but i don't see the Livewire: The published Livewire assets are out of date error and php artisan livewire:publish --assets doesn't help
Want results from more Discord servers?
Add your server