You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am struggling to create new posts via blogdown. Everytime I attempt to create a new post, I get the following message:
Loading required package: shiny
Listening on http://127.0.0.1:4451
Warning in system2(...) :
running command '"C:/Users/<PATH_NAME>/Hugo/0.112.3/hugo.exe" new "post/2023-05-25-test/index.md" --themesDir themes -t hugo-lithium' had status 1
Warning: Error in new_content: Failed to create the file 'post/2023-05-25-test/index.Rmd'.
9: shiny::runApp
8: shiny::runGadget
7: eval
6: eval
5: sys.source
2: source_addin
1: blogdown:::new_post_addin
This is happening irrespective of site theme being used, even when I attempt to create a new website with a different theme. Additionally, using the default Lithium theme to create a new blogdown site leads to this:
Creating your new site
| Installing the theme yihui/hugo-lithium from github.com
trying URL 'https://github.com/yihui/hugo-lithium/archive/HEAD.tar.gz'
Content type 'application/x-gzip' length unknown
downloaded 109 KB
Error in gsub_file(f, ...) :
Unable to read or write to 687c340e18f2/hugo-lithium-ac5574669ddd07feb1cb87fab1f5933a45e3f578/exampleSite/content/post/2015-01-01-lorem-ipsum/index.md
I had 2 blogs which were made prior to the v1.0 blogdown update (I recently decided to start posting on them again), so I am unsure if it is a combination of changes behind the scenes combining with newer Hugo versions causing this. Initially I was getting build errors pointing to my partials (I was unable to use blogdown::serve_site(), so I replicated the partials from the GitHub repository of the Lithium theme, which removed these errors. I was unsure of where the error was exactly before.
Additionally, when I try blogdown::build_site(build_rmd = TRUE), every single (already existing) post of mine gets reknitted apart from the most recent one. blogdown::build_site(build_rmd='timestamp') simply gets stuck, leading me to end the process.
Unfortunately the Hugo v0.112.x series are broken. The developer is still actively fixing the bugs, e.g., gohugoio/hugo#11018 I strongly recommend against using Hugo v0.112.x. You may consider downgrading to 0.111.x:
I am struggling to create new posts via blogdown. Everytime I attempt to create a new post, I get the following message:
This is happening irrespective of site theme being used, even when I attempt to create a new website with a different theme. Additionally, using the default Lithium theme to create a new blogdown site leads to this:
I had 2 blogs which were made prior to the v1.0 blogdown update (I recently decided to start posting on them again), so I am unsure if it is a combination of changes behind the scenes combining with newer Hugo versions causing this. Initially I was getting build errors pointing to my partials (I was unable to use
blogdown::serve_site()
, so I replicated the partials from the GitHub repository of the Lithium theme, which removed these errors. I was unsure of where the error was exactly before.Additionally, when I try
blogdown::build_site(build_rmd = TRUE)
, every single (already existing) post of mine gets reknitted apart from the most recent one.blogdown::build_site(build_rmd='timestamp')
simply gets stuck, leading me to end the process.Session info for reference:
The text was updated successfully, but these errors were encountered: