-
-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem creating Project #665
Comments
Not sure if this is related to the above issue, but when I try and build the site
There is no message
|
Please follow the issue guide to report |
Apologies
|
It seems that Hugo 0.30.2 has a bug (gohugoio/hugo#2458) that was fixed in a later version (not sure which). I might be able to fix this problem in blogdown, but would like to first ask if you are unable to use a higher version of Hugo. |
I would not know why I would be unable to use a higher version. I'm guessing I have only ever installed Hugo as part of setting up a previous blogdown site: but that would have been some years ago. |
Then I suggest you try a higher version of Hugo (0.30.2 is more than 4 years old now). |
Thanks. Just in case there are others in the same boat this did the trick
To avoid this happening again, you might want to consider an update Hugo (as well as an install Hugo) as an option on creating a project |
Just for the record, I figured out the minimal version of Hugo that can make remotes::install_github('rstudio/blogdown')
options(blogdown.hugo.version = NULL)
v1 = xfun::github_releases('gohugoio/hugo')
v2 = NULL # failing versions
for (v in v1) {
v3 = sub('v', '', v)
if (as.numeric_version(v3) < '0.17') break
blogdown::install_hugo(v)
tryCatch(blogdown::config_netlify(NULL), error = function(e) v2 <<- c(v2, v))
blogdown::remove_hugo(v3)
}
|
Been a while but creating a new blogdown project via RStudio results in an execution error
I'm using blogdown version 1.6.1
Creating without checking the netlify option does obviate the issue
The text was updated successfully, but these errors were encountered: