filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
16.13k stars 2.57k forks source link

/livewire/livewire.js net::ERR_ABORTED 404 (Not Found) #11058

Closed Pok09 closed 5 months ago

Pok09 commented 5 months ago

Package

filament/filament

Package Version

v3.2

Laravel Version

10.10

Livewire Version

No response

PHP Version

PHP 8.3.0

Problem description

When I put the project on a live server I get this error and authentication does not work

https://.../livewire/livewire.js?id=5eee0fac net::ERR_ABORTED 404 (Not Found)

I even tried with a fresh install of Laravel and Filament php, without anything else, (

the problem remains the same

Expected behavior

Authentication work

Steps to reproduce

Install Laravel Install Filament run

on live server

Reproduction repository

RAS

Relevant log output

No response

github-actions[bot] commented 5 months ago

Hey @Pok09! We're sorry to hear that you've hit this issue. 💛

However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?

We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.

Cleverscript commented 1 month ago

configure your host in NGINX

livewire.js and app.js 404

location ~* \.(jpg|jpeg|gif|png|webp|svg|woff|woff2|ttf|css|js|ico|xml)$ { try_files $uri /index.php?$query_string; access_log off; log_not_found off; expires 14d; }