wangchucheng / hugo-eureka

Eureka is a feature-rich and highly customizable Hugo theme.
https://www.wangchucheng.com/en/docs/hugo-eureka/
Apache License 2.0
923 stars 192 forks source link

failed to transform "css/eureka.css" #228

Closed ZhangYet closed 1 year ago

ZhangYet commented 1 year ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Does this issue reproduce with the latest release?

Steps to reproduce the behavior:

  1. git clone https://github.com/ZhangYet/bagpipe
  2. cd bagpipe
  3. hugo server

Expected behavior

Start a server serving the blog site

Screenshots

If applicable, add screenshots to help explain your problem. image

Environment

Additional context

Like https://github.com/wangchucheng/hugo-eureka/issues/203 and https://github.com/gohugoio/hugo/issues/10418

alexandrebrg commented 1 year ago

I had the same issue, managed to get over it with the below steps:

  1. If installed with brew, uninstall hugo
  2. Download hugo extended version (with postcss), you can take it from release page. (Move it to /usr/bin)
  3. Ensure that in your hugo config your baseUrl is set to /
  4. Enjoy

If you are using asdf, a plugin is available for it.

ZhangYet commented 1 year ago

Thanks @AlexandreBrg it works!