-
Notifications
You must be signed in to change notification settings - Fork 659
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 'export' at app.js #1430
Comments
@mmachatschek another one ^ |
@kiddtang |
I am using Laravel Sail I am running on Chrome Version 124.0.6367.78. I tried Microsoft Edge Version 124.0.2478.51 inPrivate Mode, it still shows blank dashboard. Also, Firefox 125.0.2 (64-bit) with Zero Add-ons Downgrade to v5.24.2 with |
I'm experiencing the same Using Laravel Mix. |
@kiddtang @gkarkow-digi I am unable to reproduce this issue with sail or normal Further questions:
|
I tried using the default config/horizon.php (without any custom auth middleware) still blank horizon dashboard |
@kiddtang the screenshot of the app.js request indicates you are loading a older version of the built javascript asset. Is the screenshot made with the |
Both screenshot tested on version I upgraded to |
@kiddtang this has to be some composer/cache/sail issue because in 5.24.3 this should not be loading For further debugging. can you also post what the html document of /admin/horizon returns? You can ignore the vue tag. please post your servers response like this:
|
this is working
Update to
❌ Before clear view cache
✅ After clear view cache,
@mmachatschek You're right. it is cache issue. I will You may proceed to close this issue. Thanks for spending time on this issue. |
@gkarkow-digi can you also check your view cache on this? so we can confirm that you have the same issue |
Gonna close this but feel free to continue to discuss. |
@mmachatschek Looks like it was related to cached views indeed. Thanks for pointing that out! |
Horizon Version
5.24.3
Laravel Version
9.52.16
PHP Version
8.1.28
Redis Driver
PhpRedis
Redis Version
7.2.4
Database Driver & Version
No response
Description
Horizon Dashboard appear to be blank with error in console.
Uncaught SyntaxError: Unexpected token 'export' at app.js
Steps To Reproduce
run
composer update
, from versionv5.23.1
, update to version:v5.24.3
downgrade to version:
v5.24.2
, Dashboad back to normal.assest was published after composer update by
Tried
then
The text was updated successfully, but these errors were encountered: