Bug report
Required System information
- Node.js version: v18.16.0
- NPM version: 9.5.1
- Hugo version: v0.92.2+extended linux/amd64
- Corporio version: latest
- Operating system: Linux
Describe the bug
When trying to use the theme as a theme to my personal website, I keep getting this error:
Start building sites … hugo v0.92.2+extended linux/amd64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1 ERROR 2023/05/26 18:00:05 render of "home" failed: execute of template failed: template: index.html:3:5: executing "index.html" at <partial "head/head.html" .>: error calling partial: execute of template failed: template: partials/head/head.html:6:36: executing "head/stylesheet" at <partial "head/stylesheet.html" .>: error calling partial: execute of template failed: template: partials/head/stylesheet.html:1:3: executing "partials/head/stylesheet.html" at <partial "head/libsass" "scss/app.scss">: error calling partial: "/redacted/themes/corporio/layouts/partials/head/libsass.html:5:30": execute of template failed: template: partials/head/libsass.html:5:30: executing "partials/head/libsass.html" at <toCSS $options>: error calling toCSS: no Resource provided in transformation ERROR 2023/05/26 18:00:05 render of "taxonomy" failed: execute of template failed: template: tags/taxonomy.html:3:5: executing "tags/taxonomy.html" at <partial "head/head.html" .>: error calling partial: execute of template failed: template: partials/head/head.html:6:36: executing "head/stylesheet" at <partial "head/stylesheet.html" .>: error calling partial: execute of template failed: template: partials/head/stylesheet.html:1:3: executing "partials/head/stylesheet.html" at <partial "head/libsass" "scss/app.scss">: error calling partial: "/redacted/themes/corporio/layouts/partials/head/libsass.html:5:30": execute of template failed: template: partials/head/libsass.html:5:30: executing "partials/head/libsass.html" at <toCSS $options>: error calling toCSS: no Resource provided in transformation Error: Error building site: failed to render pages: render of "taxonomy" failed: execute of template failed: template: categories/taxonomy.html:3:5: executing "categories/taxonomy.html" at <partial "head/head.html" .>: error calling partial: execute of template failed: template: partials/head/head.html:6:36: executing "head/stylesheet" at <partial "head/stylesheet.html" .>: error calling partial: execute of template failed: template: partials/head/stylesheet.html:1:3: executing "partials/head/stylesheet.html" at <partial "head/libsass" "scss/app.scss">: error calling partial: "/redacted/themes/corporio/layouts/partials/head/libsass.html:5:30": execute of template failed: template: partials/head/libsass.html:5:30: executing "partials/head/libsass.html" at <toCSS $options>: error calling toCSS: no Resource provided in transformation Built in 30 ms
It seems like hugo doesnt discover the files present in the theme's /assets, because, if I move those files to the main website's /assets, it works perfectly. Also, while it says its watching it, nothing happens if I edit files in corporio/assets (no reloads, nothing!)
However, if I run it from the theme itself, it works perfectly, which drives me nuts :(
Steps to reproduce the behavior
- Follow steps on the website
- Build fails with error