使用https://themes.gohugo.io/hugo-book/这个主题时,blogdown::serve_site()报错如下,google了一晚上,相同报错的解决方案在我这里都不适用...
Launching the server via the command:
hugo server --bind 127.0.0.1 -p 4321 --themesDir themes -t hugo-book -D -F --navigateToChanged
错误: Error building site: logged 1 error(s)
附上环境如下
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
locale:
[1] zh_CN.UTF-8/zh_CN.UTF-8/zh_CN.UTF-8/C/zh_CN.UTF-8/zh_CN.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] blogdown_1.2.2
loaded via a namespace (and not attached):
[1] Rcpp_1.0.6 bookdown_0.21 ps_1.5.0 digest_0.6.27 later_1.1.0.1
[6] R6_2.5.0 jsonlite_1.7.2 magrittr_2.0.1 evaluate_0.14 rlang_0.4.10
[11] rstudioapi_0.13 promises_1.2.0.1 rmarkdown_2.7.4 tools_4.0.3 servr_0.21
[16] processx_3.4.5 httpuv_1.5.5 xfun_0.22 yaml_2.2.1 compiler_4.0.3
[21] htmltools_0.5.1.1 knitr_1.31