Closed jananiravi closed 6 years ago
Sorry, but I don't know the answer. These problems do not seem to be caused by blogdown. You'll have to ask elsewhere (e.g., the theme author or the Hugo forum).
Thanks anyway, @yihui I will ask the Hugo academic folks, first. And if it gets fixed, I'll post the solution here for our future selves!
Sounds good. Thank you!
I know this is an old and closed issue, but I ran into a similar issue, and I wanted to note how I encountered a similar "Failed to read data from hproject" error while trying to build my site from blogdown. Wanted to reply here in case anyone else makes the same boneheaded mistake I did and save them some time tracking down their issue in the future.
I accidentally saved a few CSV files into the data/
directory of my website ....rather than in a separate data/
directory where I actually had intended to store those CSV files.
Now, of course b/c I had saved the CSV files initially in their intended location, it took me a while to track down the fact that I had these extra and problematic CSVs in the data/
directory for my blogdown website (these CSVs in the wrong location just needed to be deleted).
@ShanEllis Many thanks for sharing your experience! That's super helpful (since it's hard to debug)!
Problem with blogdown::build_site() post Hugo update
Errors from
blogdown::build_site()
Partial fix
I've set .gitignore to ignore my 'Icon' files generated possibly by my OS. Is there a simple/systematic way to get rid of these? I'm having to delete these each time. But, I am able to get rid of this error. I am left with:
I haven't disturbed any of these
single.html
,partial
files or anything else for that matter. I just decided to update Hugo and render my website again. Is there a more elegant way to fix the Icon issue & these other errors? Thank you!