Coder Social home page Coder Social logo

Comments (7)

forty avatar forty commented on July 22, 2024 1

Good catch. If the only reason why the extended version is required is this ToCSS filter, we could consider removing it, it's not that useful: I originally planned to use it for minification as the documentation says it might be more efficient than the generic minifier, but in my tests it turned out that the generic one does better here so I ended up using that. I let the ToCSS because it does formating for dev mode, and can catch CSS syntax error, but I don't know if it's worth the bugs people will open when it doesn't work with their hugo binary

from hugo-theme-anubis.

Mitrichius avatar Mitrichius commented on July 22, 2024

I can't reproduce it with your repo and updated theme on my environment.
What is your environment - OS and Hugo version?

from hugo-theme-anubis.

forty avatar forty commented on July 22, 2024

Cannot repro either (Debian Bullseye, Hugo v0.75.1). Seem fine on Netlify too.

from hugo-theme-anubis.

TheDocTrier avatar TheDocTrier commented on July 22, 2024

Sorry, I just realized that I was using an outdated ppa for Hugo. After updating to the latest copy on GitHub there are no errors.

from hugo-theme-anubis.

meme-lord avatar meme-lord commented on July 22, 2024

I'm using the latest version of Hugo and I'm getting this issue.

user@debian:~# hugo version
Hugo Static Site Generator v0.77.0-EF290125 linux/amd64 BuildDate: 2020-10-30T10:14:31Z
user@debian:~# hugo new site test
user@debian:~# cd test
user@debian:~/test# git init
Initialized empty Git repository in /user/test/.git/
user@debian:~/test# git submodule add https://github.com/mitrichius/hugo-theme-anubis.git themes/anubis
user@debian:~/test# mv config.toml config.yaml
user@debian:~/test# nano config.yaml # put the config from the README in
user@debian:~/test# hugo serve
Start building sites … 
Built in 15 ms
Error: Error building site: TOCSS: failed to transform "css/style.css" (text/css): resource "css/css/main.css_b5616ad8043936b93a403785b10b2b88" not found in file cache

from hugo-theme-anubis.

meme-lord avatar meme-lord commented on July 22, 2024

Nevermind I found the issue, I wasn't using the "Hugo extended" which seems to be required.

from hugo-theme-anubis.

Mitrichius avatar Mitrichius commented on July 22, 2024

@forty Thanks for the explanation.
I decided to remove it e9ee82e

from hugo-theme-anubis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.