Quantcast
Channel: Unable to process SCSS file in Hugo 0.58.3
Browsing latest articles
Browse All 6 View Live

Unable to process SCSS file in Hugo 0.58.3

@LunaticMuch wrote: Hi, I am having a problem using SCSS with hugo. My assets folder has 1 scss which imports 2 more scss. Inside my hugo head.html file I have {{ $sass := resources.Get...

View Article



Unable to process SCSS file in Hugo 0.58.3

@pointyfar wrote: Hi, It’s difficult to say what’s wrong because it should work, so we will need more details to be able to help you. As per Requesting Help, it would be easier to help you if you have...

View Article

Unable to process SCSS file in Hugo 0.58.3

@pkollitsch wrote: I found the same and after some testing around this one worked for me: {{ $sass := resources.Get "scss/theme.scss" }} {{ $sassIncludes := (slice "node_modules/") }} {{ $cssTarget :=...

View Article

Unable to process SCSS file in Hugo 0.58.3

@LunaticMuch wrote: @pkollitsch I am on 0.58.3 as well but it generates an error <toCSS $cssOpts>: error calling toCSS: type map[string]interface {} not supported in Resource transformations I...

View Article

Image may be NSFW.
Clik here to view.

Unable to process SCSS file in Hugo 0.58.3

@pkollitsch wrote: do you have a node_modules directory in the rootdirectory? I omitted that one from the instructions. You can have a look at the hugonewsletter repo to see it in action and working:...

View Article


Unable to process SCSS file in Hugo 0.58.3

@LunaticMuch wrote: I just grabbed the package.json and went from there. I still get the same error. Based on the error, it seems an issue not with node, but with toCSS function. You mentioned...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images