-
Notifications
You must be signed in to change notification settings - Fork 92
Description
Flux version
v2.10.2
Livewire version
v3.7.3
Tailwind version
v4.1.18
Browser and Operating System
Chrome on Win 11
What is the problem?
Hey, I ran into the problem that the Flux.js file isn't loading. After searching through the web and even looking at a few tickets here, I need to open a ticket now.
I don't know what I am doing wrong, cause in the Issue #1617 you probably found the fix for it. Since it was also merged, I thought it would be solved with it. Now I am on the latest version of Flux and I even looked it up in the vendor files, I still get the same error.
In my nginx config I have also the
location ~ ^/flux/flux(\.min)?\.(js|css)$ { expires off; try_files $uri $uri/ /index.php?$query_string; }
Block but that also doesn't help.
For what ever reason it just won't work for me. I cleared all the caches, restarted nginx multiple times as I wasn't sure if I did or not and well it just keeps happening.
I also tried it in a different browser and on a different device.
GET http://ip-address_of_vps/flux/flux.js?id=618aa74b net::ERR_ABORTED 404 (Not Found)
In my local enviroment the error isn't appearing and also in my webhosted website, it isn't appearing. So either I have some wrong settings with my nginx that I don't understand or something else is messing with me.
For nginx I use the Laravel one they provided in https://laravel.com/docs/12.x/deployment with the added flux one I mentioned before.
Code snippets to replicate the problem
location ~ ^/flux/flux(\.min)?\.(js|css)$ { expires off; try_files $uri $uri/ /index.php?$query_string; }
GET http://ip-address_of_vps/flux/flux.js?id=618aa74b net::ERR_ABORTED 404 (Not Found)
Screenshots/ screen recordings of the problem
How do you expect it to work?
The the flux.js file can be found
Please confirm (incomplete submissions will not be addressed)
- I have provided easy and step-by-step instructions to reproduce the bug.
- I have provided code samples as text and NOT images.
- I understand my bug report will be closed if I haven't met the criteria above.