1.rstudio点击 Build website 后出现这个错误,是hugo运行的问题吗?
==> rmarkdown::render_site(encoding = 'UTF-8')
Rendering content/post/2015-07-23-r-rmarkdown.Rmd
Error: While parsing config: (36, 1): unexpected token
Error: While parsing config: (36, 1): unexpected token
'C:\Users\allen\AppData\Roaming\Hugo\hugo.exe" -d "public' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
Error in shell(cmd, mustWork = TRUE, intern = intern) :
'"C:\Users\allen\AppData\Roaming\Hugo\hugo.exe" -d "public" -t hugo-ivy' execution failed with error code 1
Calls: <Anonymous> ... hugo_build -> hugo_cmd -> system2 -> shell2 -> shell
2.执行 blogdown:::serve_site() 这样的提示
Error: While parsing config: (36, 1): unexpected token
Error: While parsing config: (36, 1): unexpected token
系统找不到指定的路径。
Error in shell(cmd, mustWork = TRUE, intern = intern) :
'"hugo" -b / -D -F -d "public" -t hugo-ivy' execution failed with error code 1
一下午,还是没解决了~~~