© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
1 reply
LogicSatinn

Build error when compiling alpine component

I'm working on a custom file upload implementation using Filament PHP with an Alpine component. When I compile the component using esbuild, the build fails if I import the Axios library, but passes when I remove it.

Breakdown:
- Importing Axios causes the esbuild compilation to fail
- Removing Axios library allows successful compilation

I absolutely need to use Axios in this component. Has anyone encountered a similar issue or know how to resolve this esbuild configuration conflict?

Attempted Troubleshooting:
- Verified Axios is installed via npm
- Confirmed no syntax errors in the import

Any guidance on resolving this would be greatly appreciated!
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Alpine component not loaded
FilamentFFilament / ❓┊help
3y ago
alpine error
FilamentFFilament / ❓┊help
12mo ago
ToggleColumn Alpine Error
FilamentFFilament / ❓┊help
3y ago
Alpine component broke filament create button
FilamentFFilament / ❓┊help
2y ago