我已经尝试了我在网上找到的解决方案,但似乎都不起作用……
即使在github上安装了blogdown并更新了hugo,我也得到了一个超时错误。remotes::install_github('rstudio/blogdown') blogdown::update_hugo()
也就是说,当我运行blogdown::serve_site时,我得到了这个错误:
Launching the server via the command: C:\Users\Master\AppData\Roaming\Hugo\hugo.exe server --bind 127.0.0.1 -p 4321 --themesDir themes -t hugo-future-imperfect -D -F --navigateToChanged ERROR: The process "10244" not found. Error: It took more than 30 seconds to launch the server. There may be something wrong. The process has been killed. If the site needs more time to be built and launched, set options(blogdown.server.timeout) to a larger value.
有没有其他方法来解决这个问题?是什么导致了这个错误?
谢谢!
发布于 2020-12-01 21:51:49
我在Kubuntu 20.10上也遇到了同样的问题。我几天前安装了最新的blogdown和hugo。我在Kubuntu上有blogdown 0.21.47和hugo 0.79.0。最后,我找到了一种方法来修复它。
hugo server -DCtrl C的目录以停止我不知道它为什么有效,也不知道它是否适用于你的情况。请测试它,并让我们知道它是否工作。
发布于 2020-12-08 02:56:24
我也遇到了同样的问题。
blogdown::serve_site()
不起作用:
错误:启动服务器的时间超过30秒。hugo可能发生了错误。您可以运行blogdown::build_site(),看看它是否提供了更多信息。如果站点非常大并且需要更多时间来构建,请将options(blogdown.server.timeout)设置为更大的值。
尽管blogdown::build_site()运行起来很顺畅。blogdown::serve_site()函数适用于新创建的项目/网站。
有关存储库,请参阅here。
不确定是blogdown,hugo还是学术主题问题。
sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)
Matrix products: default
locale:
[1] LC_COLLATE=Dutch_Netherlands.1252 LC_CTYPE=Dutch_Netherlands.1252
[3] LC_MONETARY=Dutch_Netherlands.1252 LC_NUMERIC=C
[5] LC_TIME=Dutch_Netherlands.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] servr_0.20
loaded via a namespace (and not attached):
[1] Rcpp_1.0.5 rstudioapi_0.13 knitr_1.30 magrittr_2.0.1 mnormt_2.0.2 pbivnorm_0.6.0
[7] R6_2.5.0 rlang_0.4.9 tools_4.0.3 tmvnsim_1.0-2 xfun_0.19 htmltools_0.5.0
[13] yaml_2.2.1 digest_0.6.27 lavaan_0.6-7 bookdown_0.21 processx_3.4.5 later_1.1.0.1
[19] promises_1.1.1 ps_1.4.0 evaluate_0.14 rmarkdown_2.5 blogdown_0.21.50 compiler_4.0.3
[25] stats4_4.0.3 jsonlite_1.7.1 httpuv_1.5.4 发布于 2020-12-30 21:12:29
我也有同样的问题。安装"go“(https://golang.org/doc/install)很有帮助--在我干净地安装了big sur之后,这个程序就丢失了。
https://stackoverflow.com/questions/65080137
复制相似问题