npm install & npm run dev compiles with error
I am new to filament and I am trying to learn filament forms v2 to use in a project. After a fresh installation of laravel 8 and livewire 2, I installed filament forms and ran npm install and npm run dev. I get an errror message like this
● Mix █████████████████████████ done (99%)
plugins
ERROR in ./resources/css/app.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
C:\laragon\www\filamentPHP.v2\postcss.config.js:1
export default .....
Can someone please help me out. I am at my wit end.
3 Replies
Change your extension to
postcss.config.mjs
Thank you very much for your assistance. It worked.
Fresh laravel 8? Well restart and use latest especially if you are learning