error: premature EOF
ceefluz opened this issue · 2 comments
ceefluz commented
All works smoothly until build_site()
throwing this error:
build_site(path = "hour_data_all/metadata")
Error in parse_con(txt, bigint_as_char) : parse error: premature EOF
(right here) ------^
Any idea how to fix?
amoeba commented
Hi @ceefluz, sorry for leaving this issue open for so long without a response. I must have missed the notification.
Looking at your above code, it's possible the path
argument you provided isn't to a valid JSON-LD file, which build_site
requires. I think we can add a check to build_site
to make this error less cryptic.
If possible, a minimal reproducible example would be great here.