Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Livewire component not found after initial setup #135

Closed
A-Ramsey opened this issue Aug 31, 2023 · 9 comments
Closed

Livewire component not found after initial setup #135

A-Ramsey opened this issue Aug 31, 2023 · 9 comments

Comments

@A-Ramsey
Copy link

Just did the initial setup of the tall stack with auth but i keep getting component not found. Everything is connected and the db is set up and working. Cannot figure out why its not working, I haven't added any code etc just connected to the database.

Stack trace below for error
https://flareapp.io/share/pPvMXJ9m#context-livewire-component

@danharrin
Copy link
Member

LW3 uses App/Livewire instead of App/Http/Livewire so I think it just needs to be migrated.

@moayad-tarig
Copy link

so what the solution ?

@eduardohpaludo
Copy link

I have the same problem

@kieranmcclure
Copy link

The package will need to be updated to accommodate for Livewire 3's new namespace, https://livewire.laravel.com/docs/upgrading#new-class-namespace

A work around for this at the moment is to configure Livewire to use the old Namespace,

  1. Make sure you have your Livewire configuration published with php artisan livewire:publish --config
  2. Edit your config file and change class_namespace from 'App\Livewire' to 'App\Http\Livewire
  3. Re-build your project and run php artisan optimize && php artisan optimize:clear

This should sort any issues you're having, tested on a clean project.

@jamie-brown
Copy link

Yep. I just used the livewire upgrade command: php artisan livewire:upgrade, which walks you through a migration that will automate most of this for you.

@danharrin
Copy link
Member

Someone has a PR open (#132) but the tests are failing, if anyone fancies trying to fix it then I will merge their PR

@DoubleClickDesignLtd
Copy link

@jamie-brown thanks, that work for me!

@benshawuk
Copy link

I went through the upgrade steps and now authentication functionality has gone.

@danharrin
Copy link
Member

Fixed by #132.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants