Livewire Stop working after moving project to a new MacBook

What seems to be the problem:
I purchased a new Mac, moved over my Laravel Livewire Project and everything seems to be working perfectly fine except for my wire:submit. None of my submit buttons trigger the controller side of the Livewire component.

I have composer updated, npm install and restarted Valet a few times. If anyone could please give some reason for why this is happening and what I can do to fix this problem, I would greatly appreciate it. The project is still on my old Mac and working perfectly fine. But on my new Mac, not…

Steps to Reproduce:
Copy a Laravel Livewire project from one Mac to another

Are you using the latest version of Livewire:
Yes

Do you have any screenshots or code examples:

Hey, @sir.adam

There is nothing to do with new/old PC’s. Try to:

Remove file under bootstrap/cache
Remove file under framework/{cache, sessions, testing, views}
Run php artisan optimize:clear
Run composer dumpautoload
Run php artisan livewire:publish --config
Run php artisan livewire:publish --assets

If there are any errors in the console after submitting the forms let me know.

Hi

Thank you so much, the combination of these fixed the problem I had!

Hey, @sir.adam

I’m glade the issue was solved.

Happy coding mate.