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

Uncaught SyntaxError: Unexpected token '<' (at pulse:20:13) #310

Closed
w4ugit opened this issue Feb 8, 2024 · 5 comments
Closed

Uncaught SyntaxError: Unexpected token '<' (at pulse:20:13) #310

w4ugit opened this issue Feb 8, 2024 · 5 comments

Comments

@w4ugit
Copy link

w4ugit commented Feb 8, 2024

Pulse Version

1.0.0-beta11

Laravel Version

10.43.0

PHP Version

8.2.12

Livewire Version

3.4.4

Database Driver & Version

No response

Description

image

Steps To Reproduce

composer require laravel/pulse
php artisan vendor:publish --provider="Laravel\Pulse\PulseServiceProvider"
php artisan migrate
php artisan vendor:publish --tag=pulse-config

Go to /pulse

@driesvints
Copy link
Member

I can't reproduce this sorry. Everything works fine for me with those steps.

@w4ugit
Copy link
Author

w4ugit commented Feb 8, 2024

that's good, but i have an error. tell me where this code might be, I'll try to look it up myself

@jbrooksuk
Copy link
Member

@w4ugit have you modified Livewire or its configuration at all? A double <script> looks suspiciously like unintended modifications.

@w4ugit
Copy link
Author

w4ugit commented Feb 8, 2024

no

@w4ugit
Copy link
Author

w4ugit commented Feb 8, 2024

I modified the file /vendor/laravel/pulse/src/Pulse.php and reverted the changes and the error disappeared. thank you

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

3 participants