Closed setgree closed 3 months ago
Thanks for the report! When I delete Hugo on my computer, clone your repo, and run Serve Site
, I get this error message:
> blogdown:::serve_site()
Error: hugo 0.128.2 not found. You may try blogdown::install_hugo("0.128.2").
I'm not sure how to reproduce the error message you encountered...
interesting, perhaps it's something more idiosyncratic about my setup. My instinct is that it was because I did not clone everything, but instead synced it via Dropbox. (this was the source of some different headaches.) Thanks for investigating, I think we can probably close the issue in that case.
On Tue, Jul 16, 2024 at 4:31 PM Yihui Xie @.***> wrote:
Thanks for the report! When I delete Hugo on my computer, clone your repo, and run Serve Site, I get this error message:
blogdown:::serve_site()Error: hugo 0.128.2 not found. You may try blogdown::install_hugo("0.128.2").
I'm not sure how to reproduce the error message you encountered...
— Reply to this email directly, view it on GitHub https://github.com/rstudio/blogdown/issues/764#issuecomment-2231776620, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLE3UV3IWE5Q6343DBJFVDZMV7KZAVCNFSM6AAAAABK4YCRU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRG43TMNRSGA . You are receiving this because you authored the thread.Message ID: @.***>
-- Seth Green
Okay, I can investigate again if someone else runs into this problem in the future. The original error message you mentioned was definitely not informative.
I have a blog that I write in Rmarkdown and maintain on GitHub. I recently bought a new computer. I had my coding folder with my blog contents on Dropbox and automatically synced it to my new computer. I reinstalled all the packages that I could remember. Today I tried to
serve_site
using the menu-based addin, and got:This was not informative. I googled it, and nothing useful came up. However, then I remembered that I probably needed to install hugo, and that did the trick:
Maybe the error message can be amended to point future n00bs like myself in the right direction?
Thank you!