Error calling toCSS: no Resource provided in transformation

Running into the following error:

Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: _default/list.html:8:7: executing "_default/list.html" at <partial "styles.html" .>: error calling partial: "/Users/vmchale/dev/PROJECT/src/web/site/DIR/themes/docuapi/layouts/partials/styles.html:3:62": execute of template failed: template: partials/styles.html:3:62: executing "partials/styles.html" at <toCSS $cssOpts>: error calling toCSS: no Resource provided in transformation

I’m using the docuapi theme, v1.4.1 and hugo

Hugo Static Site Generator v0.69.2/extended darwin/amd64 BuildDate: unknown

I’m quite perplexed as this was working a couple days ago. I can’t tell what I’m doing differently this time!

sassc --version
sassc: 3.6.1
libsass: 3.6.4
sass2scss: 1.1.1
sass: 3.5

postcss --version
8.3.1

Thanks!

I ran hugo mod clean and that worked. I think I messed up the cache by running Ctrl-C!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.