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

Jetstream Components Not Found After Update Laravel version 10 to 11 #1505

Closed
PoojaJadav opened this issue Jun 26, 2024 · 1 comment
Closed

Comments

@PoojaJadav
Copy link

Jetstream Version

5.x

Jetstream Stack

Livewire

Laravel Version

11.x

PHP Version

8.2

Database Driver & Version

No response

Description

After running Laravel Shift to upgrade my project from Laravel 10 to Laravel 11, I encountered issues with Jetstream components not being found. Specifically, I receive the following error for all Jetstream components:

Unable to locate a class or view for component [jet-validation-errors].

Steps To Reproduce

Troubleshooting Steps Taken:

  1. Verified Jetstream is installed and updated to the latest version compatible with Laravel 11.
  2. Re-published Jetstream views using php artisan vendor:publish --tag=jetstream-views.
  3. Cleared Laravel's view and configuration cache using php artisan view:clear, php artisan cache:clear, and php artisan config:clear.
  4. Checked component files in resources/views/vendor/jetstream/components/.
  5. Verified component usage in Blade templates is correct ().
@driesvints
Copy link
Member

We haven't used the jet- prefixed since the Jetstream v3 version: https://github.com/laravel/jetstream/blob/5.x/UPGRADE.md#jetstream-3x-livewire-stack

I believe there's a couple of missed steps from Jetstream's upgrade guide in your process migrating to Laravel v11. Note that Shift might not account for all of these.

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

2 participants