-
Notifications
You must be signed in to change notification settings - Fork 702
Closed
Labels
Description
Horizon Version
5.24.1
Laravel Version
11.4.0
PHP Version
8.3.4
Redis Driver
PhpRedis
Redis Version
7.2.4
Database Driver & Version
No response
Description
This update cause a bug when opening horizon dashboard with error like:
GET http://localhost:5173/resources/js/app.js net::ERR_ABORTED 404 (Not Found)
GET http://localhost:5173/resources/sass/styles.scss net::ERR_ABORTED 404 (Not Found)
This is because in some of our project we don't use js anymore but ts files also we don't use styles.scss as entrypoint anymore but another file. This issue will also break any project without those files as entrypoint.
After reading commit history, this file seems to be the culprit: public/build/manifest.json
Steps To Reproduce
- Create new laravel project
- Install horizon
- Remove or rename file
resources/js/app.jsandresources/sass/styles.scss - Open horizon dashboard and this issue will happen