roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Admin Panel 404 Errors on assets

Open Flinty916 opened this issue 3 years ago • 3 comments

Hey!

Have an issue relating to the /admin panel. When trying to access it (as the correct user), I get a blank screen (navy coloured background), and the following files are returning a 404 in the developer tools on Chrome:

  • /filament/assets/filament-tools.js
  • /filament/assets/app.css?id=
  • /filament/assets/app.js?id=

Tested on Chrome/Incognito, 2 different devices. This is my install/setup script (Docker):

# Upgrading Node
RUN npm install -g n

RUN npm ci
RUN npm run build
RUN php artisan livewire:publish --assets

What am I missing?

Thanks for any assistance

Flinty916 avatar Sep 29 '22 18:09 Flinty916

I've run a fresh installation and I'm unable to replicate this. You might want to try to remove the node_modules folder and install again.

Cannonb4ll avatar Sep 30 '22 17:09 Cannonb4ll

I've run the npm run prod command, and this is the output I'm receiving. Feel like some stuff is missing:

public/build/assets/nunito-v24-latin-700.923eb1ee.woff2       13.63 KiB
public/build/assets/nunito-v24-latin-regular.5e2f97ea.woff2   13.73 KiB
public/build/assets/nunito-v24-latin-700.70134519.woff        16.76 KiB
public/build/assets/nunito-v24-latin-600.428a6676.woff        17.11 KiB
public/build/assets/nunito-v24-latin-regular.6a10fc2f.woff    17.03 KiB
public/build/manifest.json                                    0.12 KiB
public/build/assets/app.badd88e8.css                          142.66 KiB / gzip: 24.02 KiB
public/build/assets/admin.5a27a30d.css                        136.18 KiB / gzip: 22.72 KiB
public/build/assets/app.b58d9aa0.js                           847.99 KiB / gzip: 249.09 KiB````

Flinty916 avatar Sep 30 '22 19:09 Flinty916

What do you think is missing? It seems everything is there, when I run the build, it has the same output.

Cannonb4ll avatar Oct 01 '22 10:10 Cannonb4ll

Closing due to inactivity, not able to replicate either.

Cannonb4ll avatar Oct 24 '22 05:10 Cannonb4ll