RelationManager Table create modal not working (PRODUCTION)

The create modal is not showing in production mode. I notice this error after I deployed it in production server but in local server it has no errors. Thank you in advance
No description
Solution:
you can also just run php artisan filament:assets on the server if you don't need to do an upgrade. FYI
Jump to solution
4 Replies
DrByte
DrByte6mo ago
404 means "not found" ... which suggests that you didn't publish and upload Filament's JS assets to your server.
DrByte
DrByte6mo ago
Run: php artisan filament:upgrade (this will copy Filament's CSS and JS assets to your /public/ directory, and you need to upload those JS and CSS directories to your server's public directory when deploying. https://filamentphp.com/docs/3.x/panels/installation#upgrading
Solution
awcodes
awcodes6mo ago
you can also just run php artisan filament:assets on the server if you don't need to do an upgrade. FYI
| Frozen Mind |
| Frozen Mind |6mo ago
Thank you for stating the solution for this problem, first i notice that it didn't work at the first place, and i move my public folder and paste the content in the public_html.