-
Notifications
You must be signed in to change notification settings - Fork 638
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
Manifest.json cause 404 error if file in resources is missing #1416
Comments
Did you publish the new assets like: https://github.com/laravel/laravel/blob/11.x/composer.json#L39
|
@mmachatschek Should we possible use a different name for the manifest file? Like horizon-manifest? #1415 |
We also updated to the latest Horizon version (5.24.1) and this only seems to be an issue on local environments when running The issue seems to be that when you run While the layout loading the assets with |
Reverted everything for now. Thanks all for reporting. |
thanks @bramdevries thanks for the debugging info. Will check that |
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
resources/js/app.js
andresources/sass/styles.scss
The text was updated successfully, but these errors were encountered: