CkShy
CkShy

Reputation: 1

Error in install_hugo() : The Hugo version NA does not seem to exist

When I run blogdown::install_hugo(), there was error that the hugo version NA dose seem to exist.

enter image description here

I have try to use install_hugo(version = 'the number of the hugo version'), but the same error was appeared again.

Upvotes: 0

Views: 64

Answers (1)

auravan
auravan

Reputation: 1

In my case.the output of xfun::github_releases('gohugoio/hugo', 'latest')is character(0).

I solve it by checking the github and then doing like this:

1.Use blogdown::install_hugo(arch = 'universal') it may be error after this but it's ok.

2.then blogdown::install_hugo(os = 'windows',arch = 'amd64'). Done

Upvotes: 0

Related Questions