Livewire error after upgrading filament from 2.x to 3.x
I have recently upgraded one of my project from Laravel 9.x to 10.x along with filament. I used the filament upgrade package from the filament website to do that. Once the upgrade is done Iḿ receiving an error Uncaught SyntaxError: Invalid or unexpected token (at livewire.js?id=8a199ab2:9407:1) . I did some research and I found some fixes telling that it is occurring because of the empty line on the project. So I have scanned my entire project and made sure there are no whitespace or blank line at the first line of php files.
Thanks in advance.
Thanks in advance.