gethugothemes / academia-hugo

Academia is a Hugo resume theme. You can showcase your academic resume, publications and talks using this theme.

Home Page:https://gethugothemes.com/products/academia/?utm_source=academia_github&utm_medium=referral&utm_campaign=github_theme_about

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS: failed to transform "main_parsed.scss"

johndoe31415 opened this issue · comments

Hi there,

I'm using the latest Hugo build on Linux x86_64 (Hugo Static Site Generator v0.73.0-428907CC linux/amd64 BuildDate: 2020-06-23T16:30:43Z). When I create a site using academia-hugo, some of the generated files work if the translated version is copied from the exampleSite, but I cannot recreate those sites myself. To reproduce:

$ hugo new site new
$ cd new/themes
$ git clone https://github.com/themefisher/academia-hugo.git
$ cd ../..
$ cp -r themes/academia-hugo/exampleSite/. .
$ echo 'theme = "academia-hugo"' >>config.toml 
$ hugo server

This works nicely and I see the default site. However, when I Ctrl-C out of that server and try a clean build:

$ rm -fr ./resources/_gen
$ hugo serve
Built in 3090 ms
Error: Error building site: TOCSS: failed to transform "main_parsed.scss" (text/x-scss): resource "scss/sass/main.scss_af4713394d203c6760d5068301ff2656" not found in file cache

I cannot get Hugo to tell me exactly why it cannot translate main_parsed.scss; strace clearly shows it opens the file, but I have no clue why rendering the template fails.

Best,
Joe

please use hugo extended version, thanks