Core Javascript asset error 404

Hey guys, I was just installing filament, login all seems fine but when i reached the dasboard, it failed to fetch some core JS files which made the site look funky and not reactive. any way to re-add this? thanks Using Herd, PHP 8.3
No description
Solution:
decided to just abandon ship (haven't done anything beside installing packages) and retried with a fresh install, followed all the steps and got it to work. must be somewhere i ran command twice/forgot to run something. but alas, worked now. I'll close this issue as fixed....
Jump to solution
2 Replies
Onebyte
Onebyte2w ago
More context: I was following the custom theme guide: https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme So as an effort to debug it, i removed the vite theme:
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
- ->viteTheme('resources/css/filament/admin/theme.css')
->authMiddleware([
Authenticate::class,
]);
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
- ->viteTheme('resources/css/filament/admin/theme.css')
->authMiddleware([
Authenticate::class,
]);
and somehow it made thing even worse:
No description
Solution
Onebyte
Onebyte2w ago
decided to just abandon ship (haven't done anything beside installing packages) and retried with a fresh install, followed all the steps and got it to work. must be somewhere i ran command twice/forgot to run something. but alas, worked now. I'll close this issue as fixed.
Want results from more Discord servers?
Add your server
More Posts