Pages not generated with Hugo 0.79+ on Windows

Does version 0.79 hugo.exe work on windows? I switched from v0.60.1 and nothing works. What am I missing?

In all cases I unblocked the zip file before extracting

D:\centralhome.com-vscode - Copy>hugo env
Hugo Static Site Generator v0.60.1-96066756 windows/amd64 BuildDate: 2019-11-29T14:57:23Z
GOOS=“windows”
GOARCH=“amd64”
GOVERSION=“go1.13.4”

D:\centralhome.com-vscode - Copy>hugo
Building sites … WARN 2020/12/23 19:34:32 Page.URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url

               | EN-US

±-----------------±------+
Pages | 492
Paginator pages | 1
Non-page files | 0
Static files | 487
Processed images | 0
Aliases | 4
Sitemaps | 1
Cleaned | 0

Total in 2932 ms

Neither basic or extended works … extended doesn’t know birthday?

D:\centralhome.com-vscode - Copy>hugo env
Hugo Static Site Generator v0.79.1/extended windows/amd64 BuildDate: unknown
GOOS=“windows”
GOARCH=“amd64”
GOVERSION=“go1.15.1”

D:\centralhome.com-vscode - Copy>hugo env
Hugo Static Site Generator v0.79.1-EDB9248D windows/amd64 BuildDate: 2020-12-19T15:44:19Z
GOOS=“windows”
GOARCH=“amd64”
GOVERSION=“go1.15.1”

D:\centralhome.com-vscode - Copy>hugo
Start building sites …

               | EN-US

-------------------±-------
Pages | 1
Paginator pages | 0
Non-page files | 0
Static files | 487
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0

Total in 542 ms

Of course it works. You need to add it to the Windows Path before executing. There are detailed instructions over here.

What kind of birthday should Hugo Extended know? :face_with_monocle:

In any case we cannot know what you mean in your post above without you providing a link to the source code of your project, or if you cannot share the actual project, then please share a project that reproduces the issue you encountered with dummy content.

Also for future reference please do have a look at the forum Requesting Help guidelines.

The path is same for v0.60.1 (works) and v0.79.1 (doesn’t work) . I just swap the hugo.exe out in the hugo/bin directory.
Sorry should have said build date. BuildDate: unknown
I can create the Anake theme and share it but it is not theme or source code but Releases · gohugoio/hugo · GitHub that does not work.
If i use 0.60 project has Pages | 492 and if I use v0.79.1 then Pages | 1
Everything else is same.
As I tried to say v0.60.1 hugo.exe works but if I replace it with 0.79.1 it does not build pages.

Cannot reproduce. I do have a current Hugo installation on a Windows box both 0.60.1 and 0.79.1 work.

The report that Hugo 0.79.1 does not build pages on Windows, means that something is going on with the project’s setup and not with the Hugo installation.

The unmodified Ananke theme won’t build Gohugo Theme Ananke | Hugo Themes
if I use 0.79.1 but will build with 0.60.

Upgrade Hugo

Upgrading Hugo is as easy as downloading and replacing the executable you’ve placed in your PATH

The unmodified Ananke theme exampleSite does build for me with Hugo 0.79.1 on Windows 10:

$ hugo version
Hugo Static Site Generator v0.79.1-EDB9248D windows/amd64 BuildDate: 2020-12-19T15:44:19Z

~/Downloads/gohugo-theme-ananke-master/exampleSite
$ hugo server
Start building sites …

                   | EN
-------------------+-----
  Pages            | 21
  Paginator pages  |  1
  Non-page files   |  0
  Static files     | 10
  Processed images |  0
  Aliases          |  2
  Sitemaps         |  1
  Cleaned          |  0

Anyway, I cannot be of further assistance as I cannot reproduce your report.
We need to see a repo that reproduces the issue you describe.
Perhaps the issue is related to something going on in your local machine.
In any case I cannot know. Perhaps someone else might help you further.

I am using Hugo 0,79 in windows 10.

I have tried Ananke theme and it works as expected.
I have tried it previously with basic Hugo.
Now I have hugo extended and it works too.

May be you don’t have hugo or go correctly installed in the path of your system…

But I cannot see any error in your report. It seems it has built it correctly.

Have you tried to connect to http://localhost:1313?

On my previous computer, I never added hugo to path (Too lazy), just added path in CMD prompt.
Used hugo 6 months, love it but still learning.
However, new computer, added path and v0.60.1 works.
I did not install go, just hugo.exe
This is a Win 10 Pro, same as last computer. Are you on Win 10 or Win 10 Pro?
Maybe I’ll start installing hugo versions backwards from 0.79.1 (ie 0.79, 0.78) to find latest that works (for me). Perhaps that will yield clues.
Think onedrawingperday is right, fault is due to issue on local machine.
I can connect to localhost.

I am new too, so I may be wrong.

But if you have a go.mod in your site, that is because your theme uses the go module system to work, using the theme files directly from internet.

If you are using that, you need Go lang installed in your system. That may be the problem you are having.

Try installing go.
If you don’t one to install go, you need to clone the theme to your site, delete the go modules entries in your config and use the theme the old way.