F
Filament16mo ago
daudau

Error when loading js file on production

Anyone get error when loading assets on production. My site is already running on https
Uncaught (in promise) TypeError: error loading dynamically imported module: http://customedge.co/js/filament/forms/components/tags-input.js?v=3.0.17.0
download https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_getModule https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_download https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_componentStrategy https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_setupComponent https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_setupComponents https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
start https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
<anonymous> https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
dispatch2 https://customedge.co/livewire/livewire.js?id=99a05389:1100
start https://customedge.co/livewire/livewire.js?id=99a05389:1132
start3 https://customedge.co/livewire/livewire.js?id=99a05389:7989
<anonymous> https://customedge.co/livewire/livewire.js?id=99a05389:8890
EventListener.handleEvent* https://customedge.co/livewire/livewire.js?id=99a05389:8889
<anonymous> https://customedge.co/livewire/livewire.js?id=99a05389:8893
async-alpine.js:1:1099
Uncaught (in promise) TypeError: error loading dynamically imported module: http://customedge.co/js/filament/forms/components/tags-input.js?v=3.0.17.0
download https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_getModule https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_download https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_componentStrategy https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_setupComponent https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
_setupComponents https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
start https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
<anonymous> https://customedge.co/js/filament/support/async-alpine.js?v=3.0.17.0:1
dispatch2 https://customedge.co/livewire/livewire.js?id=99a05389:1100
start https://customedge.co/livewire/livewire.js?id=99a05389:1132
start3 https://customedge.co/livewire/livewire.js?id=99a05389:7989
<anonymous> https://customedge.co/livewire/livewire.js?id=99a05389:8890
EventListener.handleEvent* https://customedge.co/livewire/livewire.js?id=99a05389:8889
<anonymous> https://customedge.co/livewire/livewire.js?id=99a05389:8893
async-alpine.js:1:1099
3 Replies
msalehi
msalehi14mo ago
i have same error in production .. has anyone solve this problem ?
toeknee
toeknee14mo ago
This is usually an nginx issue loading files. There have been multiple posts about it
msalehi
msalehi14mo ago
I've set the
ASSET_URL
ASSET_URL
in my .env and problem solved.
Want results from more Discord servers?
Add your server