Compiling sass results in an error:
ERROR Failed to compile with 1 errors 12:30:30 AM
error in ./resources/sass/app.scss
Error: [object Object] is not a PostCSS plugin
I am not using PostCSS at all.
I upgraded to fix an issue with the manifest files being put in the wrong folder ( have not confirmed that it's solved for me )
const mix = require('laravel-mix')
mix.sass('resources/sass/app.scss', 'css/')
I attempted to install PostCSS npm install postcss --save-dev and then I got a whole bunch of Babel errors so I reverted and now the error I have is [webpack-cli] Error: Cannot find module 'postcss'
I had this error too, I resolved it by running yarn add postcss --dev.
What were the Babel errors @adampatterson as you may have just moved the error on?
@iamthefreeman I tried that and it resulted in a tone of Babel errors.
I might try again and clear everything out.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
I had this error too, I resolved it by running
yarn add postcss --dev.What were the Babel errors @adampatterson as you may have just moved the error on?