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

Manifest.json cause 404 error if file in resources is missing #1463

Closed
nathanaelytj opened this issue Apr 17, 2024 · 2 comments
Closed

Manifest.json cause 404 error if file in resources is missing #1463

nathanaelytj opened this issue Apr 17, 2024 · 2 comments

Comments

@nathanaelytj
Copy link

nathanaelytj commented Apr 17, 2024

Telescope Version

5.0.2

Laravel Version

11.4.0

PHP Version

8.3.4

Database Driver & Version

No response

Description

When telescope updated dashboard won't open with error like:
GET http://localhost:5173/resources/sass/styles.scss net::ERR_ABORTED 404 (Not Found)
GET http://localhost:5173/resources/js/app.js net::ERR_ABORTED 404 (Not Found)

This issue seem to be the same issue as laravel/horizon#1416
After reading commit history, this file seems to be the culprit too: public/build/manifest.json

Steps To Reproduce

  1. Create new laravel project
  2. Install telescope
  3. Remove or rename file resources/js/app.js and resources/sass/styles.scss
  4. Open telescope dashboard and this issue will happen
@driesvints
Copy link
Member

Did you publish the new assets like: https://github.com/laravel/laravel/blob/11.x/composer.json#L39

php artisan vendor:publish --tag=laravel-assets --ansi --force

@driesvints
Copy link
Member

Reverted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants