You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download a fresh installation of Laravel. composer create-project laravel/laravel="8.6.11" laravel-8.83.7
Install Jetstream with Livewire and Teams. php artisan jetstream:install livewire --teams
Finalize the installation after configuring your database.
npm install
npm run dev
php artisan migrate
Try registering a User account on the "/register" route.
It is at this point that an error is thrown. syntax error, unexpected token "@", expecting variable or "{" or "$" (View: C:\Users\Ivan\Documents\SteveContents\GITHUB\Laravel-8.83.7\laravel-8.83.7\storage\framework\views\b1360312d9c7980bc863ac6cbcdb42d58c8ed47d.blade.php)
I made a temporary solution in the linked Stack Overflow question. Though due to my limited Livewire experience, I'm afraid the solution may affect other functionalities. As of now, everything works fine with the temporary solution.
Description:
Immediately after clicking the "Register" button on the "/register" route, An error is thrown.
The issue comes from the fact that the compiled view version under
storage/framework/views
is failing to evaluate$@clickPrevent
.Steps To Reproduce:
Download a fresh installation of Laravel.
composer create-project laravel/laravel="8.6.11" laravel-8.83.7
Install Jetstream with Livewire and Teams.
php artisan jetstream:install livewire --teams
Finalize the installation after configuring your database.
It is at this point that an error is thrown.
syntax error, unexpected token "@", expecting variable or "{" or "$" (View: C:\Users\Ivan\Documents\SteveContents\GITHUB\Laravel-8.83.7\laravel-8.83.7\storage\framework\views\b1360312d9c7980bc863ac6cbcdb42d58c8ed47d.blade.php)
I made a temporary solution in the linked Stack Overflow question. Though due to my limited Livewire experience, I'm afraid the solution may affect other functionalities. As of now, everything works fine with the temporary solution.
GitHub repository to demonstrate your issue:
https://github.com/steven7mwesigwa/buggy-laravel-jetstream-component
Related Stack Overflow question:
https://stackoverflow.com/questions/71805796/syntax-error-unexpected-expecting-variable-t-variable-or-or/71808060#71808060
Complete Error Stack Trace:
The text was updated successfully, but these errors were encountered: