hugo-starter
hugo-starter copied to clipboard
The node-sass update to version 6 creates some incompatibilty
Hi!
Firstly I want to thak you for this awesome starter. It's great for minimal sites.
And secondly, when I run npm run build (after an npm install in a blank site) I got this error message.
ERROR in ./sass/style.scss
Module build failed (from ../node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ../node_modules/sass-loader/lib/loader.js):
Error: Node Sass version 6.0.1 is incompatible with ^4.0.0.
I think it's because the upgrade to node-sass version 6. So if I checkout the previous version (e2c50b7) with node-sass 4, it runs ok.
Thanks for your time!
Looks good, merged. Thank you Josemar! I validated the fixes using node version 12 when building