Uncaught (in promise) TypeError: Cannot read properties of null (reading 'insertBefore')

Hi, Did you seen this error when you used FileUpload::imageEditor ? When I click on the pencil, nothing happened.
Solution:
Ok, I fine the problem. I install filament on a existing project and Livewire was loaded twice....
Jump to solution
2 Replies
Solution
DomThomas
DomThomas8mo ago
Ok, I fine the problem. I install filament on a existing project and Livewire was loaded twice....
Hiz
Hiz4mo ago
Thanks! Additionally, just leaving a note here. Livewire 3 ships with Alpine by default. So, remove any Alpine.js imports within your project when upgrading from Filament v2 / Livewire v2 to v3. This was, in my case, the fix.
Want results from more Discord servers?
Add your server