hugo-starter icon indicating copy to clipboard operation
hugo-starter copied to clipboard

The node-sass update to version 6 creates some incompatibilty

Open lumenpink opened this issue 4 years ago • 1 comments

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!

lumenpink avatar Aug 04 '21 19:08 lumenpink

Looks good, merged. Thank you Josemar! I validated the fixes using node version 12 when building

jimfrenette avatar Aug 05 '21 02:08 jimfrenette