Filament v3 - Vite Issue

I installed Filament, and also the filament/forms

And I got this error after running npm run dev

[vite] Internal server error: Failed to load PostCSS config (searchPath: /Users/vahnmarty/Projects/myproj): [SyntaxError] Unexpected token 'export'
/Users/vahnmarty/Projects/myproj/postcss.config.js:1
export default {
^^^^^^

SyntaxError: Unexpected token 'export'
Solution
When you say "I installed Filament" did you mean "Panels", if yes then no need to install filament/forms separately
Was this page helpful?