Blank Page Windows 10

Hi,
I try to use Hugo under windows 10.
But no matter what i do i always get a blank page at localhost:1313. first i followed the tutorial from giraffeacademy and used their theme. then i tried another theme. then i tried several tutorials and troubleshooting guides(different folder location for the Website, clean new Installation,… but i don’t get anywhere.

Hugo Version: "Hugo Static Site Generator v0.58.3-4AAC02D4 windows/amd64 BuildDate: 2019-09-19T15:29:19Z " 
Error message: 
Building sites … WARN 2020/02/19 14:45:51 found no layout file for "HTML" for "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/02/19 14:45:51 found no layout file for "HTML" for "taxonomyTerm": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/02/19 14:45:51 found no layout file for "HTML" for "taxonomyTerm": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

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

Total in 16 ms
Watching for config changes in
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at //localhost:1313/ (bind address 127.0.0.1)

Copy the contents of your config file and share, we’d be able to help more. It may be you are not setting a theme in your config. If your theme in the the themes directory, try including the theme in the command:

hugo server -t exampleThemeName

If you need more assistance, you ought to share your entire project. :slight_smile:

In which way i share the whole project?

baseURL = "http://example.org/"
languageCode = "en-us"
title = "erdhandwerk"
theme = "ga-hugo-theme-master"

This is an old theme that does not work with Hugo versions beyond v.0.57.0

See: https://github.com/gohugoio/hugoThemes/issues/682

I suggest that you choose another theme. See https://themes.gohugo.io for a curated list of Hugo Themes that are guaranteed to work with the latest Hugo.

1 Like

i tried this too with the same issue:

i also tried

hugo server -t exampleThemeName

an get this

C:\Users\ERD>hugo server -t hugo-theme-zen-master
Error: module “hugo-theme-zen-master” not found; either add it as a Hugo Module or store it in “C:\Users\ERD\themes”.: module does not exist

Is there a directory at C:\Users\ERD\themes\hugo-theme-zen-master with the theme’s files?

yes there is. and there is a folder with the theme in the website structure under the folder themes.

My advice is to not use Windows. I know, I know, everyone is like, what, that isn’t real advice. But I haven’t used Windows in like, decades, so it’s entirely possible.

However, and lucky for you (presuming you ignore my advice), maybe someone will come along and have a clue.

Normally you share it from a git repo, or link to a file archive if you don’t use version control. It goes a long way towards finding a solution. :slight_smile: