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
920 stars 192 forks source link

Hugo 0.122.0 之后开始报错 #246

Open 9201314 opened 6 months ago

9201314 commented 6 months ago

提了好几次希望作者能增加搜索功能,作者也已回复过会增加,不过后续都没有更新了,虽然知道可能这个issue也不会有回复,但是作为多年忠实粉丝,既然新版本的Hugo出现了这个问题,还是得提一下。也许解决办法是只能将Hugo锁死在0.122.0版本,但始终热爱这个theme,也感谢作者的付出!

因为每日都会用最新版的Hugo生成博客,所以发现自Hugo 0.122.0版本后均会报错:

ERROR POSTCSS: failed to transform "/css/eureka.css" (text/css): resource "css/eureka.css_59122205213644db2a335025f85b41bf" not found in file cache

GavinSun0921 commented 5 months ago

同样的错误

sobradob commented 5 months ago

This might help you https://discourse.gohugo.io/t/error-building-site-postcss/31766

itsuitsuki commented 1 week ago

This might help you https://discourse.gohugo.io/t/error-building-site-postcss/31766

By changing the config to useResourceCacheWhen: fallback and follow the error message that tells to npm install packages, and then installing all the packages needed, the problem can be solved in my Ubuntu 24.04 machine.